How could a function that converts relative addresses to absolute addresses become an entry point for denial of service?
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.