Users with SCRIPT rights can execute arbitrary code in XWiki
Priority LOW 32CWE-94Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
EPSS 0.01341 71st percentileScored 2026-11-07
Fix Fixed xwiki-platform (xwiki): 11.10.5, 12.2.1org.xwiki.platform:xwiki-platform-oldcore (Maven): 11.10.5, 12.2.1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | before 11.10.5; 12.0.0 to before 12.2.1 | 11.10.5, 12.2.1 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-oldcore (Maven) | before 11.10.5 | 11.10.5 | Patch available | GHSA-7qw5-pqhc-xm4g |
| — | org.xwiki.platform:xwiki-platform-oldcore (Maven) | 12.0.0 to before 12.2.1 | 12.2.1 | Patch available | GHSA-7qw5-pqhc-xm4g |
- xwiki-platform VendorXWiki Affected before 11.10.5; 12.0.0 to before 12.2.1 Fixed in 11.10.5, 12.2.1 Patch available CNA
- org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected before 11.10.5 Fixed in 11.10.5 Patch available GHSA-7qw5-pqhc-xm4g
- org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 12.0.0 to before 12.2.1 Fixed in 12.2.1 Patch available GHSA-7qw5-pqhc-xm4g
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 11.10.5, 12.2.1
- Fix · GHSA-7qw5-pqhc-xm4g org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 11.10.5 Advisory →
- Fix · GHSA-7qw5-pqhc-xm4g org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 12.2.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-15171
- 2026-10-03 Alias added: GHSA-7qw5-pqhc-xm4g
References
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2020-15171 · CVE Program
- CVE-2020-15171 · NVD
- FIRST EPSS
- GHSA-7qw5-pqhc-xm4g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences