When the inline data address is not covered by the content filtering rules, from which path does the cross-site scripting come in?

📅 October 12, 2026 👁️ 11

Cross-site scripting comes from which path depends on how the filtering rules are written. The filtering list written by tag names and attribute names naturally does not cover the category of 'carrier is not tag but data itself' - inline data address is a typical example: it is written in normal attributes, the tag is legal, the structure is legal, and the risk is hidden in the beginning statement of the data format.Joomla released the 6.0.2 and 5.4.2 security and bugfix versions on January 31, 2026, where one cause was directly written as insufficient content filtering of inline data addresses, and the other was a cross-site scripting vector in the pagebreak plugin. Both are not issues of 'missing a dangerous tag' type.

How many categories of executable carriers are there in rich text

The first category is explicit scripts: script tags, event attributes, pseudo-protocol links, which are the earliest items included in the filtering list.

The second category is containers: nested frames, objects, and embedded elements, which do not carry scripts themselves but can introduce external content.

The third type is a 'resource-looking' data format: inline data addresses encode the content into attributes, and the browser decides how to handle it based on the type declared by the data address prefix. When the prefix points to an executable type, the valid attributes become the entry points. This type is characterized by: it is not noticeable by tag name, and the same text is harmless under another prefix.

The fourth category is the attributes of formatting and structural tags, the risk comes from the concatenation method rather than the tag itself, Joomla's another announcement points to the pagebreak plugin, and the cause is in the plugin's processing of the output content, not the dangerous tags appearing in the editor.

Why would only the tag blacklist miss?

The blacklist resolves the issue of 'shape', while the cause of this type of defect lies in 'semantics'. The rule is to intercept certain tag names and attribute names, which means that anything whose name is not on the list is allowed; the attribute of the inline data address is originally needed in the compliant content, and deleting it would destroy the normal function, so the filtering strategy tends to keep it, and then rely on type judgment as a backup.

To tighten up, the judgment dimension needs to be changed from the tag name to three layers: first, which protocols and format prefixes are allowed for the attributes, using a whitelist enumeration instead of label filtering; second, whether the structure appearing on the page is generated by the editor instead of carried in by external content; third, whether the output link has been escaped, separating the data content from the template structure. Any layer of these three layers alone is not enough; the blacklist lacks the second layer, and escaping lacks the first layer.

Content system filtering layer

The writing side, text layer, and structure layer each manage a section, and the order cannot be reversed.

The writing side is content review: Before entering the main text, it determines whether the content can be accepted. The rich text submitted by editing accounts and the anonymous comments submitted have different prerequisites, and the review rules should also be separated.

The text layer is sensitive word filtering and keyword replacement: It deals with words, and hits the text content, can intercept illegal expressions, but cannot control the tag structure. After the sensitive word filtering is passed, a data address with an executable prefix is still stored as it is.

The structure layer is the protocol whitelist and output escaping before rendering. The content management system usually provides default capabilities at this level - AnQiCMS built-in JWT authentication, content sensitive word filtering and anti-crawling interference code, used to prevent SQL injection and XSS attacks, here the XSS defense covers the default path of the system; custom fields, hand-written output positions in templates, and editor plugins developed later still handle content according to their own rules. This is the easiest to leave blank after the upgrade.

Anti-crawling interference code is not on this chain.

The interference code solves another problem: it makes the traces of the collected text in bulk unrecyclable, protecting the content from being moved away by the entire site. It acts on the display layer and does not bear the responsibility of execution security, nor can it be used as part of the acceptance of filtering rules. On the contrary, after injecting interference codes into the text, whether the output link still maintains the original type judgment of the attributes needs to be confirmed separately - when two functions are stacked together, the acceptance should be based on the combined output, rather than looking at each layer separately.

Common questions

Is it enough to disable all script tags?Not enough. Inline data address carriers do not appear script tags, disabling tags will miss it, and it is easy to also disable the normal resource display.

Can content filtering and output escaping be replaced with each other?No. Filtering occurs at the content entry and saving stage, and escaping occurs at the output to the page stage, the former manages 'whether to receive or not', and the latter manages 'how to write it out', and a layer is missing will leave a path.

Why should the defect of the plugin location be counted as part of content security?Because the output structure is assembled by plugins. The cause of that announcement in Joomla is in the pagebreak plugin, not in the editor's filtering layer, and such locations need to be checked separately after upgrades.

Related articles

For those website programs that account for nearly half of the installed base, is the attack surface also expanding?

A large number of installations indeed brings more targeted probing, but what expands the attack surface is not the software quality itself, but the scale of existing stocks and the degree of scriptability: How many times is it worth trying the same exploit code? When selecting, you should look at how tight the default configuration is, whether the update channel is automatic, whether the input layer has built-in protection, whether the repair response can be verified, and make a horizontal comparison according to the repair rhythm within the same time window.

2026-10-12

How can the regular expression writing in the rewritten rules cause buffer overflow, which part of the configuration should be reviewed?

Buffer overflow occurs in the rewriting module when processing the request path with regular expressions, which is not the same as injection flaws: injection changes the execution structure of external content, while overflow is the process itself going beyond the memory boundary. The official announcement directly writes the cause into the handling of this rule, affecting multiple versions over the years, and the fixed versions are released for each branch. This article provides the order of configuration review, as well as where to redirect pseudo-static and redirection.

2026-10-12

The announcement has confirmed that it is being used in the wild and has entered the known exploitation list, should the schedule be upgraded?

When a confirmed defect is in the wild exploitation and has been included in the known exploited vulnerability list, the schedule should be upgraded. The reason is not that the score is higher, but that the fact has already occurred: The severity description is the possibility, and the in-the-wild exploitation describes the attack behavior that has already occurred. This article explains how to read these two types of signals for the upgrade judgment, as well as the three actions that should still be retained after the upgrade: backup first, upgrade next, and verify later.

2026-10-12

Why would the routing and permissions of a batch interface carrying multiple groups of sub-requests go wrong?

Batch interfaces pack multiple child requests into one outer request. If the routing judgment and authorization conclusion of the outer layer are retained during processing, the child requests will be executed with the wrong permissions, resulting in a situation where both routing and authorization are both incorrect. One of the core defects publicly disclosed has been written as batch routing confusion and upgraded to remote code execution. This article explains where the error occurs, the three places that the content system needs to collect from the external interfaces, and how to limit the approval interfaces accordingly.

2026-10-12

With a security notice rated at twenty-three points out of twenty-five, how should the site judge and prioritize handling?

High rating does not mean that the disposal order is in front. Take a high-risk announcement of Drupal core announcement as an example: it gives the score under the 25-point system, exposure premise and impact dimension, and also explains that the cause only acts on a specific database and has detected external exploitation attempts. This article explains how to read this kind of scoring, what other lines need to be supplemented outside the score, and then gives the site disposal order and the way to leave a way out before and after the upgrade.

2026-10-12

What capabilities can be verified by the online experience station and API documentation when selecting?

Do not stop at the feature list: Use the official online experience station to actually open the background to confirm the process and capability boundaries, use the public interface document to confirm which capabilities and fields can be accessed, and then see if the server capabilities can be accessed by external AI clients through a unified protocol. This article provides a list of executable checks and common misjudgments.

2026-10-12

What do the surge quota and non-delay parameters in the traffic control rules change individually, who decides whether to queue or reject?

Based on the official nginx documentation, break down the three things of rate limiting: rate key statistics, bucket release; burst determines how many extra requests can wait in line, nodelay and delay determine the rhythm at which queued requests are processed; whether a single request is queued or rejected is determined by whether the waiting number at arrival exceeds the burst limit, the return code can be customized with commands.

2026-10-12

When the request header is too long and is directly rejected by the server, should you receive the Cookie first or the custom header first?

The request header is too long and has been rejected by the server corresponding to 431 client error: It may be due to exceeding the total limit, or an individual field exceeds the limit, the response body should specify which one. Troubleshoot first, then collect; tracking cookies are automatically carried by the browser, accumulated for many years, and controllable by the server, which are usually the first to be reduced, followed by custom headers and gateway addition items.

2026-10-12