CVE-2020-15171
MEDIUM 6.6CVSS 3.1Users with SCRIPT right can execute arbitrary code in XWiki
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.
- Published
- 10 Sep 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-74CWE-94
- Also known as
- GHSA-7qw5-pqhc-xm4g
- Sources
- NVDJSONOSV GHSA-7qw5-pqhc-xm4gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
< 11.10.5 | 11.10.5 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 12.0.0, < 12.2.1 | 12.2.1 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | < 11.10.5 | 11.10.5 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | >= 12.0.0, < 12.2.1 | 12.2.1 |
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
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 10 Sep 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Sep 2020)