Cyber Resilience

CVE-2024-40748

High

Published: 07 January 2025

Published
07 January 2025
Modified
04 June 2025
KEV Added
Patch
CVSS Score v3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0002 4.6th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-40748 is a high-severity Cross-site Scripting (CWE-79) vulnerability in Joomla Joomla\!. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 4.6th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SI-15 (Information Output Filtering) and SI-2 (Flaw Remediation).

Deeper analysis

CVE-2024-40748 is a cross-site scripting (XSS) vulnerability stemming from a lack of output escaping in the id attribute of menu lists within the Joomla core. Classified under CWE-79, it was published on 2025-01-07 and carries a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N), highlighting its potential for high confidentiality impact.

The vulnerability can be exploited over the network by unauthenticated attackers requiring low complexity and no user interaction. Exploitation enables attackers to inject malicious scripts via the unescaped id attribute, potentially leading to the theft of sensitive user data or session information through reflected or stored XSS attacks.

Mitigation details are outlined in the Joomla Security Centre advisory available at https://developer.joomla.org/security-centre/955-20250102-core-xss-vector-in-the-id-attribute-of-menu-lists.html.

EU & UK References

Vulnerability details

Lack of output escaping in the id attribute of menu lists.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1539 Steal Web Session Cookie Credential Access
An adversary may steal web application or service session cookies and use them to gain access to web applications or Internet services as an authenticated user without needing credentials.
Why these techniques?

XSS in public-facing Joomla CMS directly enables T1190 exploitation; resulting script injection facilitates theft of web session cookies/data per T1539.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2026-23899Same product: Joomla Joomla\!
CVE-2026-21629Same product: Joomla Joomla\!
CVE-2024-40749Same product: Joomla Joomla\!
CVE-2026-21630Same product: Joomla Joomla\!
CVE-2026-35221Same product: Joomla Joomla\!
CVE-2026-35222Same product: Joomla Joomla\!
CVE-2026-40383Same product: Joomla Joomla\!
CVE-2026-48904Same product: Joomla Joomla\!
CVE-2026-48898Same product: Joomla Joomla\!
CVE-2026-23898Same product: Joomla Joomla\!

Affected Assets

joomla
joomla\!
3.9.0 — 3.10.20 · 4.0.0 — 4.4.10 · 5.0.0 — 5.2.3

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly addresses the lack of output escaping in the menu list id attribute by requiring filtering of information prior to output to web pages to prevent XSS attacks.

prevent

Mitigates the specific Joomla core XSS flaw by identifying, reporting, and applying timely patches as outlined in the Joomla Security Centre advisory.

prevent

Provides defense-in-depth by validating inputs to block malicious script injection that could exploit the unescaped id attribute in reflected or stored XSS scenarios.

References