When the inline data address is not covered by the content filtering rules, from which path does the cross-site scripting come in?
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.