Cyber Posture

CVE-2024-40748

High

Published: 07 January 2025

Published
07 January 2025
Modified
04 June 2025
KEV Added
Patch
CVSS Score 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0001 2.1th 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, ranked at the 2.1th 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).

Threat & Defense at a Glance

What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

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.

NVD Description

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

Deeper analysisAI

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.

Details

CWE(s)

Affected Products

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

CVEs Like This One

CVE-2026-21630Same product: Joomla Joomla\!
CVE-2026-23898Same product: Joomla Joomla\!
CVE-2024-40749Same product: Joomla Joomla\!
CVE-2026-23899Same product: Joomla Joomla\!
CVE-2026-21629Same product: Joomla Joomla\!
CVE-2025-24415Same product class: CMS core
CVE-2025-24414Same product class: CMS core
CVE-2025-24417Same product class: CMS core
CVE-2026-21311Same product class: CMS core
CVE-2025-24410Same product class: CMS core

References