# CVE-2024-37900: XWiki Platform vulnerable to Cross-site Scripting through attachment filename in uploader

- Severity: Medium 6.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 15.8%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2024-07-31T15:15:31.013Z
- Modified: 2026-06-17T07:39:00.900Z
- Also known as: GHSA-wf3x-jccf-5g5g
- Weaknesses: CWE-94, CWE-96
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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 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.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 4.2-milestone-3, < 14.10.21; >= 15.0-rc-1, < 15.5.5; >= 15.6-rc-1, < 15.10.6; >= 16.0.0-rc-1, < 16.0.0
- xwiki xwiki: from 4.2-milestone-3 before 14.10.21; from 15.0-rc-1 before 15.5.5; from 15.6-rc before 15.10.6; from 16.0.0-rc-1 before 16.0.0; from >4.2 before 14.10.21; from 15.0 before 15.5.5; from 15.6 before 15.10.6; 4.2; 16.0.0
- org.xwiki.platform:xwiki-platform-web-war (Maven): from 4.2-milestone-3 before 14.10.21; from 15.0-rc-1 before 15.5.5; from 15.6-rc-1 before 15.10.6; from 16.0.0-rc-1 before 16.0.0

## Every score

- GitHub_M: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.4 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N`
- NVD: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://jira.xwiki.org/browse/XWIKI-19602> (exploit, issue-tracking, web)
- <https://jira.xwiki.org/browse/XWIKI-19611> (exploit, issue-tracking, web)
- <https://jira.xwiki.org/browse/XWIKI-21769> (exploit, issue-tracking, web)
- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wf3x-jccf-5g5g> (vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/6cdd69d31d6bf3caa7f40ec55eb317e4e528ad28> (patch, web)
- <https://github.com/xwiki/xwiki-platform/commit/8b8a2d80529b9a9c038014c1eb6c2adc08069dfd> (patch, web)
- <https://github.com/xwiki/xwiki-platform/commit/910a5018a50039e8b24556573dfe342f143ef949> (patch, web)
- <https://github.com/xwiki/xwiki-platform/commit/9df46f8e5313af46f93bccd1ebc682e28126573f> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-37900> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2024-37900](https://www.cve.org/CVERecord?id=CVE-2024-37900), CVE Terms of Use, modified 2024-08-13
- GitHub Advisory Database: [GHSA-wf3x-jccf-5g5g](https://github.com/advisories/GHSA-wf3x-jccf-5g5g), CC-BY-4.0, modified 2024-11-18
- NVD: [CVE-2024-37900](https://nvd.nist.gov/vuln/detail/CVE-2024-37900), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-37900 · Whole record: https://cve.day/CVE-2024-37900.json · Rebuilt by cve.day 2026-11-25T22:58:43.476Z
