Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-37900 is a medium-severity Static Code Injection (CWE-96) vulnerability in Xwiki. Its CVSS base score is 6.4 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
XWiki Platform, a generic wiki platform, is affected by a client-side code injection vulnerability (CWE-94, CWE-96) that triggers when a user uploads an attachment whose filename contains malicious JavaScript. The flaw allows the injected script to execute in the browser during the upload process itself, with a CVSS 3.1 score of 6.4 reflecting the combination of network attack vector, high attack complexity, and required user interaction.
An attacker must first perform social engineering to convince a victim who possesses upload rights to submit a file with a crafted name. Successful exploitation runs arbitrary JavaScript solely in the context of the uploading user, enabling actions such as modifying content or performing privileged operations on that user’s behalf; the malicious filename is visible to the victim, limiting the practicality of the attack.
The vulnerability has been fixed in XWiki releases 14.10.21, 15.5.5, 15.10.6, and 16.0.0, as documented in the project’s GitHub security advisory and the associated code commits that sanitize attachment filenames before processing. The EPSS score remains flat at 0.0533 with no observed increase after disclosure.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-2435
Vulnerability Data
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When uploading an attachment with a malicious filename, malicious JavaScript code could be executed. This requires a social engineering attack to get the…
more
victim into uploading a file with a malicious name. The malicious code is solely executed during the upload and affects only the user uploading the attachment. While this allows performing actions in the name of that user, it seems unlikely that a user wouldn't notice the malicious filename while uploading the attachment. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V1.3.1V1.3.2
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Developer testing and evaluation can discover missing neutralization of directives in saved code artifacts.
Input validation directly stops unneutralized directives from being inserted into static code resources.
Least privilege limits the damage an injected code fragment can perform once executed.
Requiring documented secure development standards and tools enforces use of safe code-generation APIs and escaping.
Engineering principles include secure input handling and neutralization requirements that structurally avoid static injection.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require input neutralization to block static code injection into templates, configs, or libraries.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
A.8.29's programme of code review, static analysis, dynamic testing and penetration testing is the complete pre-production discovery set for code injection: eval/dynamic-execution sinks are visible to SAST, code review catches them, and penetration testing reaches the externally exploitable instances, with no nameable remainder.
Training developers about input neutralization and the dangers of allowing user input to flow into executable resources reduces instances of static code injection, but developers are fallible and the strongest control for this implementation defect is security testing (A.8.29) or secure coding practice (A.8.28), consistent with the A.6.3 -> CWE-598 and A.8.28 -> CWE-79 anchors.
Secure coding explicitly requires proper neutralization of directives in templates, libraries and configuration files.
A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation weaknesses like static code injection the way those practices do, at `partial`; the clause has a declared ceiling of `partial` on this verb.
A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw. CWE-96 is a first-party code defect (user input written into an executable resource), and while some instances surface as CVEs (the observed examples include CVE-2002-0495, CVE-2005-1876, etc.), the vast majority of static code injection in deployed code is in custom applications that never get a published advisory. A.8.8 finds the disclosed minority; the source-reading and dynamic-testing routes that would reach the rest belong to A.8.29, not A.8.8.