CVE-2026-127298 in Joomla Extension
Summary
by MITRE • 11/24/2026
Joomla! Core - [20261118] - Core - XSS in com_contact name in Joomla 1.6.0-5.4.10, 6.0.0-6.2.0 - Decoding of HTML entities when saving contacts and inadequate escaping of the contact name lead to a stored XSS vulnerability.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/24/2026
The identified vulnerability represents a critical security flaw within the Joomla! content management system affecting versions ranging from 1.6.0 through 5.4.10, as well as early releases in the 6.x series up to version 6.2.0. This issue is specifically located within the com_contact component and centers on the handling of user-supplied input for contact names during the save operation. The core technical failure stems from a dual deficiency in data processing: first, the system performs decoding of HTML entities when saving contacts, which normalizes encoded characters into their literal representations before storage or display logic is applied; second, there is an inadequate escaping mechanism when these decoded values are subsequently rendered within the web application interface. This sequence creates a classic stored cross-site scripting scenario where malicious scripts can be embedded directly into the database and executed in the context of any user who views the affected contact information.
From a technical perspective, this vulnerability aligns with CWE-79, which defines Improper Neutralization of Input During Web Page Generation commonly known as Cross-Site Scripting (XSS). The attacker's ability to inject arbitrary JavaScript code relies on the application's failure to properly sanitize or encode special characters such as angle brackets and quotation marks before outputting them into HTML. Because the vulnerability is stored, it does not require complex social engineering tactics like phishing links for each victim; instead, a single successful injection by an authenticated user with permission to create contacts can compromise all subsequent visitors who view that specific contact record. This persistence distinguishes it from reflected XSS attacks and significantly increases its potential impact on site integrity and user trust.
The operational impact of this vulnerability is severe due to the stored nature of the exploit. An attacker could use this flaw to steal session cookies, thereby hijacking administrative or privileged user sessions without needing valid credentials. Furthermore, the injected script can perform actions on behalf of the victim, such as modifying site settings, defacing web pages, or redirecting users to malicious phishing sites designed to harvest sensitive information. In environments where Joomla! is used for public-facing directories or customer relationship management tools, this vulnerability exposes both internal staff and external clients to significant risk. The ability to execute arbitrary code in the browser context also opens pathways for further exploitation, including keylogging or capturing keystrokes entered into forms on the compromised page.
Mitigation strategies must address both immediate remediation and long-term defensive posture. For administrators running affected versions, the most effective solution is to upgrade Joomla! to a version that includes patches for this specific issue in the com_contact component. If upgrading is not immediately feasible, implementing a Web Application Firewall can provide temporary protection by filtering out malicious payloads containing script tags or event handlers before they reach the application logic. Additionally, developers should enforce strict input validation and output encoding practices consistent with OWASP guidelines. Specifically, all user-supplied data must be contextually encoded based on where it is rendered in HTML, JavaScript, CSS, or URL contexts to prevent interpretation as executable code. Regular security audits focusing on data flow from database retrieval to browser rendering are essential to identify similar escaping deficiencies across other components of the platform.