# CVE-2021-3137: Cross Site Scripting (XSS) in XWiki

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/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): 0.74%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-01-20T03:17:14.000Z
- Modified: 2026-06-17T04:04:43.890Z
- Also known as: GHSA-43hg-g44q-474q
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

XWiki 12.10.2 allows XSS via an SVG document to the upload feature of the comment section.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.xwiki.commons:xwiki-commons (Maven): before 12.10.3
- xwiki xwiki: 12.10.2

## Every score

- GitHub: rating Medium
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://www.exploit-db.com/exploits/49437> (exploit, third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3137> (advisory)

## Sources

- CVE List: [CVE-2021-3137](https://www.cve.org/CVERecord?id=CVE-2021-3137), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-43hg-g44q-474q](https://github.com/advisories/GHSA-43hg-g44q-474q), CC-BY-4.0, modified 2024-12-02
- NVD: [CVE-2021-3137](https://nvd.nist.gov/vuln/detail/CVE-2021-3137), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3137 · Whole record: https://cve.day/CVE-2021-3137.json · Rebuilt by cve.day 2026-11-25T22:57:59.522Z
