CVE-2026-127301 in Joomla CMS Extensioninfo

Summary

by MITRE • 11/24/2026

Joomla! Core - [20261121] - Core - XSS in com_contenthistory version preview in Joomla 3.2.0-5.4.10, 6.0.0-6.2.0 - Inadequate escaping of field labels in the version preview and comparison leads to a stored XSS vulnerability.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/24/2026

The identified vulnerability resides within the com_contenthistory component of Joomla!, specifically affecting versions ranging from 3.2.0 through 5.4.10, as well as the early releases of the next major iteration including 6.0.0 to 6.2.0. This security flaw is classified as a stored Cross-Site Scripting vulnerability that arises due to inadequate input validation and output encoding mechanisms when rendering field labels during version preview and comparison operations. The core issue stems from the application's failure to properly sanitize user-supplied data before it is inserted into the database or rendered in the browser context, allowing malicious scripts to be persisted on the server side rather than being transiently injected via URL parameters.

From a technical perspective, the vulnerability exploits the way Joomla! handles metadata and field labels within its content management system architecture. When an administrator or authorized user creates or edits content, they can define specific field labels for custom fields or existing database entries. The com_contenthistory module is designed to track changes in this data over time, allowing users to view previous versions of articles or compare different revisions side-by-side. However, the rendering engine responsible for displaying these version previews does not apply sufficient escaping protocols to the label values retrieved from the database. Consequently, if an attacker manages to inject malicious JavaScript code into a field label during content creation, that script becomes part of the stored data structure and is subsequently executed by any user who views or compares versions containing this tainted data.

The operational impact of this vulnerability is significant because it facilitates persistent access for attackers without requiring repeated exploitation attempts. Unlike reflected XSS where the payload must be delivered via a crafted link each time, stored XSS embeds the malicious code directly into the application's content repository. This means that every subsequent visit to the version history or comparison interface by any user with appropriate permissions will trigger the execution of the attacker's script in their browser context. The consequences can range from session hijacking and credential theft through cookie manipulation to more severe actions such as performing administrative functions on behalf of the victim, defacing the website content, or redirecting users to phishing sites designed to harvest sensitive information.

This vulnerability aligns with Common Weakness Enumeration identifier CWE-79, which describes Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. Furthermore, in terms of tactical mapping within the MITRE ATT&CK framework for enterprise security, this behavior corresponds to techniques involving client-side code injection and potentially credential harvesting through session manipulation. The stored nature of the attack vector places it firmly within the persistence category of threats, making detection more challenging than transient attacks since the malicious payload remains dormant until triggered by legitimate user interaction with the compromised content history feature.

Mitigation strategies must address both immediate remediation and long-term architectural improvements. For administrators running affected versions, upgrading to a patched release where this specific encoding issue has been resolved is the primary recommendation. If an upgrade is not immediately feasible, implementing strict input validation rules at the application layer can help prevent malicious scripts from being stored in field labels. Additionally, deploying Web Application Firewalls with robust XSS detection capabilities may provide a temporary buffer by filtering out known attack patterns before they reach the vulnerable code paths. Long-term solutions should involve enforcing Content Security Policy headers to restrict script execution sources and adopting secure coding practices that mandate output encoding for all dynamic content rendered in HTML contexts, ensuring that special characters are converted into their corresponding entity equivalents regardless of the data source.

Responsible

Joomla

Reservation

11/12/2026

Disclosure

11/24/2026

Moderation

accepted

CPE

ready

EPSS

0.00565

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!