Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
PR:H reflects mandatory admin-level access to com_templates; S:C and UI:R capture XSS executing in a victim admin's browser context; no availability impact applies.
Primary rating from Vendor (Joomla).
CVSS VectorVendor: Joomla
Lifecycle Timeline
1DescriptionCVE.org
Lack of escaping leads to an XSS vulnerability in the file management view of com_templates.
AnalysisAI
Cross-site scripting in Joomla! CMS com_templates file management view allows a high-privileged attacker to inject unescaped malicious script that executes in the browser of any administrator who subsequently views the affected template file listing. Affected versions span Joomla! 4.0.0 through 5.4.6 and 6.0.0 through 6.1.1. No public exploit identified at time of analysis and the CVSS 4.0 supplemental metric E:U confirms no known active exploitation, but the wide install base and admin-targeting nature of the payload make this relevant to Joomla site operators.
Technical ContextAI
The vulnerability resides in com_templates, the Joomla! CMS core component responsible for template and theme file management within the administrator back-end. CWE-79 (Improper Neutralization of Input During Web Page Generation) confirms the root cause: user-controlled input - likely a filename, directory name, or file content rendered in the file manager view - is reflected or stored and subsequently output into HTML without adequate entity encoding or escaping. When the vulnerable view is rendered, the browser interprets the injected payload as live script. The CPE string cpe:2.3:a:joomla!_project:joomla!_cms identifies the Joomla! CMS application as the affected software across all platforms for versions in the 4.x-5.x and 6.x branches.
RemediationAI
The primary remediation is to upgrade Joomla! CMS to a version beyond the affected ranges (above 5.4.6 for the 5.x series, or above 6.1.1 for the 6.x series) once vendor-released patched versions are published; consult https://developer.joomla.org/security-centre/1058-20260704-core-xss-in-com-templates.html for exact fixed version numbers as the input data does not confirm a specific patch release version. As a compensating control, restrict access to the Templates component (com_templates) to only the minimum set of trusted administrators using Joomla's ACL system - this reduces the pool of accounts that could plant or trigger the payload. Additionally, review the Content Security Policy (CSP) headers of your Joomla installation; a restrictive CSP that blocks inline scripts can limit the impact of XSS execution even if the vulnerability is triggered. No workaround eliminates the underlying lack of escaping without a code fix.
More in Joomla Cms
View allTransport encryption downgrade in Joomla! CMS password and username reset workflows causes reset links to be generated w
Unrestricted SHTML file upload in Joomla! CMS affects all versions from 1.0.0 through 5.4.7 and 6.0.0 through 6.1.2, imp
Path traversal (Zip Slip) in Joomla 6.1.1's com_joomlaupdate component enables persistent remote code execution when a S
Arbitrary file deletion in Joomla! CMS com_joomlaupdate component via the autoupdate server mechanism allows remote atta
Authorization bypass in Joomla CMS com_config webservice endpoints allows authenticated attackers with high privileges t
Improper access control in Joomla! CMS webservice endpoints allows unauthorized attackers to bypass authentication and a
Inconsistent access control enforcement in Joomla! CMS REST API webservice endpoints allows authenticated users with ins
Multi-factor authentication bypass in Joomla! CMS versions 4.0.0 through 5.4.7 and 6.0.0 through 6.1.2 allows remote att
Authentication bypass in Joomla! CMS 4.0.0-5.4.5 and 6.0.0-6.1.0 allows remote attackers to circumvent multi-factor auth
Two-factor authentication bypass in Joomla! CMS versions 4.0.0-5.4.5 and 6.0.0-6.1.0 allows remote attackers to circumve
Privilege escalation in Joomla! CMS versions 4.0.0 through 5.4.5 and 6.0.0 through 6.1.0 allows remote attackers to abus
Privilege escalation in Joomla! CMS versions 4.0.0-5.4.5 and 6.0.0-6.1.0 allows remote attackers to abuse the com_users
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42067
GHSA-f8m6-4q3w-326j