# CVE-2020-15171: Users with SCRIPT rights can execute arbitrary code in XWiki

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.34%, higher than 72% of CVEs (2026-12-01)
- Published: 2020-09-10T19:19:27.000Z
- Modified: 2026-07-08T06:00:14.852Z
- Also known as: GHSA-7qw5-pqhc-xm4g
- Weaknesses: CWE-74, CWE-94
- Assigned by: GitHub_M

## Description

In XWiki before versions 11.10.5 or 12.2.1, any user with SCRIPT right (EDIT right before XWiki 7.4) can gain access to the application server Servlet context which contains tools allowing to instantiate arbitrary Java objects and invoke methods that may lead to arbitrary code execution. The only workaround is to give SCRIPT right only to trusted users.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: <11.10.5; >=12.0.0, <12.2.1
- org.xwiki.platform:xwiki-platform-oldcore (Maven): before 11.10.5; from 12.0.0 before 12.2.1
- xwiki xwiki: before 11.10.5; from 12.0.0 before 12.2.1

## Every score

- GitHub_M: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.6 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7qw5-pqhc-xm4g> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15171> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2020-15171](https://www.cve.org/CVERecord?id=CVE-2020-15171), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-7qw5-pqhc-xm4g](https://github.com/advisories/GHSA-7qw5-pqhc-xm4g), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-15171](https://nvd.nist.gov/vuln/detail/CVE-2020-15171), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15171 · Whole record: https://cve.day/CVE-2020-15171.json · Rebuilt by cve.day 2026-11-25T22:57:54.601Z
