How could a function that converts relative addresses to absolute addresses become an entry point for denial of service?

📅 October 10, 2026 👁️ 11

Why does the public function of converting relative addresses to absolute addresses become the source of denial of service issues? Because it does a small thing 'cost determined by input': parsing, concatenation, fallback, every step takes the time with the incoming string changes. This was mentioned in the security maintenance version released by the same-system WordPress in October 2026:WP_Http::make_absolute_url()A method exists with a denial of service issue, reported by Anthropic. The announcement provides the method name, issue type, and reporter, with no details of exploitation publicly disclosed. The only conclusion that can be drawn is that repeatedly called parsing code, without input boundaries, becomes a time-consuming entry point.

How could a conversion function bring down a request?

These functions are usually shared by many links: relative paths in the text need to be completed, jump targets need to be verified, remote image addresses need to be normalized, and interface parameters need to be implemented as complete addresses. Sharing means a high volume of calls, and it also means that the single-point cost will be multiplied several times.

Inputs that slow down often have three forms: addresses that are much longer than the normal range; paths with repeated segments at the same level, requiring multiple backtracks; and formats that seem legal but may lead the parser to a fallback branch. There is nothing wrong with the logic of the function itself, the error is with the premise of 'uncontrollable input scale'.

To determine whether it belongs to this type of risk, you can only look at two things: whether the function handles external values under control; and whether the cost of handling a bad input is significantly higher than handling a good input. If both conditions are met, it is worth adding restrictions.

Who is calling it in the data collection and remote screenshot link

The ability to collect content within the site (retrieve content from other websites and store it) and remote screenshotting are two typical call sides. Their common points are: the address is provided externally, the retrieval action is triggered by the request, and the processing result needs to be entered into the text.

This forms a complete cost chain—a bad address is passed in, the parsing takes some time first, then a real request may be made and more network time is spent, and finally the returned content needs to be filtered. By the time it is tripled, the cost of a single request is no longer at the level of 'parsing strings'.

Within the system, content collection and built-in protection are layered: AnQiCMS supports content collection from other websites, and also has built-in SQL injection and XSS protection, sensitive word filtering and anti-collection interference code. The collection link solves 'how the content comes in', and the protection link solves 'how the incoming content is handled', the two-layer input verification cannot be replaced by each other.

Limit input rather than limit error reporting: three actionable closures

The first is the length and prefix whitelist. The address should pass the length limit and protocol whitelist before entering parsing, and those that are obviously non-compliant should be directly rejected without entering the function. The cost of verification is fixed, the cost of parsing is not fixed, and the order cannot be reversed.

The second is the source restriction. The range of domains that can be collected and captured should be explicitly configured, rather than accepting any address. This rule also blocks two types of issues: time being controlled by external factors, and internal network addresses being submitted as external addresses.

The third is about frequency and concurrency. Data collection and screenshot belong to the action of 'one trigger may cause multiple outbound calls'; frequency restrictions should be set according to the request, and the total duration of the task should be set. When there is no time limit, a slow task can occupy all queuing positions.

These three all act before entering parsing or calling external, belonging to 'input restriction'; only add exception capture and return hints only after errors occur, belonging to 'error restriction', which is not helpful for time consumption.

What is the difference from injection problems?

The core of injection problems is that 'input is treated as code execution', and the core of address resolution problems is that 'input raises the cost of execution'. The former affects confidentiality and integrity, while the latter mainly affects availability; the former relies on parameterization and escaping to close the mouth, while the latter relies on limits and whitelist to close the mouth.

The troubleshooting actions for both can share a list, but the priority is different: injection problems generally need to be followed up urgently because they may have already been exploited; resolution problems can control the risk by adding restrictions before the patch is in place, and there is no need to shut down the site.

It's more convenient to treat 'externally controllable' as a single filtering criterion when writing internal self-inspection - as long as the value comes from the request, body, or collected content, it belongs to both input chains.

Common questions

Can you infer that there is also the same problem in the site when only the announcement mentions a function name?No. The function name is the opponent's implementation detail, and the site can only self-inspect according to the same pattern: is there a shared address resolution function, whether its input is externally controllable, and whether there are length and source restrictions? Only when all three are established do you need to handle it.

Isn't it enough to add a timeout?The timeout handles the worst-case scenario, but it cannot handle the cumulative overhead of bad input of medium scale. Under high concurrency, each request takes more time, and even if the timeout is not triggered, it will drag down the throughput. Timeout is a bottom line, and limiting input is the first line of defense.

Where should the validation be placed, at the gateway or in the program?Length, protocol, and source can be initially filtered at the entry layer; whether it points to the internal network, whether it belongs to the permitted collection range, and other such business judgment-related issues can only be handled in the program. Both layers are done, but in terms of order, the entry layer comes earlier.

Should the collection function be turned on or off?Determine by purpose. Open and assign whitelist and frequency if used, close the entry if not. Function is both asset and entry, narrowing the entry itself is a risk reduction measure.

Related articles

The same CMS released seven security repairs in one go, how should the administrator follow up in order?

When releasing multiple security fixes at once, the follow-up order should be to confirm the ability to roll back, then upgrade, and finally check credentials and files. When reading the announcement, first look at the first three lines: the distribution of the number and type of fixes, whether an immediate update is required, and which branches the fixes have been rolled back to. Taking the security maintenance version of the peer system on October 6, 2026, as an example, it contains seven security fixes and four defect fixes, rolled back to earlier branches, and only the newer versions are being actively supported.

2026-10-10

At which layer should the site clean the cross-site scripting brought by the third-party embedded card

Cross-site scripting brought by third-party embedded cards, the answer is not either/or: the content embedded is generated by an external service, bypassing the normal field filtering, so the front-end escaping is not enough; and only reviewing before publishing cannot prevent the external service from changing the return after the fact. The reasonable point is three layers - limit the source and marking range when collecting and storing, review the content and sensitive words before publishing, and allow embedded tags to pass through the whitelist when outputting on the front-end.

2026-10-10

AI can capture the list page but not the detail page, which layer should be checked first?

The list page can be read, but the detail page cannot be read. The most effective way is to search layer by layer according to 'Entry List—Link Accessible—Content Renderable': First, confirm whether the detail page is listed in the site description file and sitemap provided for the model, then confirm whether the pseudo-static address of the detail page can be directly accessed, and finally check whether the new content has been submitted to the search channel. Each layer corresponds to different repair actions, and directly modifying the rendering by skipping the first two layers is usually ineffective.

2026-10-10

When choosing a content management system, what three questions should be clarified about the degree of interface openness?

When evaluating the openness of an interface, it is worth clarifying three questions: whether the capability list is complete and divided by domain, how the authorization method and exposure range are determined, and whether there is a confirmation step for write operations. The three questions correspond to visibility, boundaries, and risks, which can all be verified by documentation and a single practical test; high openness does not equal loss of control, the key is whether the granularity falls within the capability domain and actions.

2026-10-10

What problems can arise when parameters are spliced into the action name, and how can such name splicing be self-checked?

When the request parameter is spliced into the internal action name or hook name, the caller may trigger an action that should not be triggered, resulting in unauthorized access or chaotic behavior. The self-inspection points are to find all the locations where parameters are spliced into names, converge the allowable values into a whitelist, and then check each item in the enumeration status.

2026-10-10

A module specifically designed for IP access restriction has been bypassed, can the whitelist still be considered as a line of defense?

When the module for access restriction based on IP itself is bypassed, the whitelist is still a line of defense, but it cannot be used as the only line of defense. It should be used in conjunction with account group permissions, interface exposure range control, and multi-site rule setting, so that the consequences will not be magnified when a single point fails.

2026-10-10

There is no supported upgrade version for the vulnerability in the announcement, which layer of the site will break first?

The security announcement states that the project has stopped maintenance and there is no upgradeable supported version. The disposal sequence is completely different when a patch is available: first disable or uninstall the project, then narrow down the accessible entry points, then evaluate the impact on data, throughout the process retain reversible backups, and transfer similar requirements to implementations that are still under maintenance.

2026-10-10

Can the background field execute content as a template, and where does the server-side template injection occur?

The content written in the background field will only be executed when it is handed over to the template engine for rendering. Server-side template injection occurs at this rendering layer rather than the storage layer. The solution is to let the field value only participate in rendering as data, cooperate with content review and sensitive word filtering before publication, and change the template at the template layer.

2026-10-10