# CVE-2026-39840: CSS injection in multiple Cargo display formats

- Severity: Medium 5.1 (CVSS:4.0, scored by wikimedia-foundation) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA: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): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-07T19:35:36.153Z
- Modified: 2026-07-24T23:10:00.563Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: wikimedia-foundation

## Description

Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Wikimedia Foundation Mediawiki - Cargo Extension allows XSS Targeting Non-Script Elements.This issue affects Mediawiki - Cargo Extension: before 3.8.7.

(As written by CVE List.)

## Affected

- Wikimedia Foundation Mediawiki - Cargo Extension: before 3.8.7
- mediawiki cargo: before 3.8.7

## Every score

- wikimedia-foundation: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://phabricator.wikimedia.org/T416368> (exploit, issue-tracking, vendor-advisory)
- <https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cargo/+/1237966> (patch)

## Sources

- CVE List: [CVE-2026-39840](https://www.cve.org/CVERecord?id=CVE-2026-39840), CVE Terms of Use, modified 2026-04-07
- NVD: [CVE-2026-39840](https://nvd.nist.gov/vuln/detail/CVE-2026-39840), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-39840 · Whole record: https://cve.day/CVE-2026-39840.json · Rebuilt by cve.day 2026-11-25T22:59:18.172Z
