org.xwiki.contrib.markdown:syntax-markdown-commonmark12 vulnerable to XSS via Markdown content
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- 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-79.
Summary
XWiki Contrib's Syntax Markdown allows importing Markdown content into wiki pages and creating wiki content in Markdown. In versions starting from 8.2 to before 8.9, the Markdown syntax is vulnerable to cross-site scripting (XSS) through HTML. In particular, using Markdown syntax, it's possible for any user to embed Javascript code that will then be executed on the browser of any other user visiting either the document or the comment that contains it. In the instance that this code is executed by a user with admins or programming rights, this issue compromises the confidentiality, integrity and availability of the whole XWiki installation. This issue has been patched in version 8.9.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | syntax-markdown | 8.2 to before 8.9 | 8.9 | Patch available | CNA |
| — | org.xwiki.contrib.markdown:syntax-markdown-commonmark12 (Maven) | 8.2 to before 8.9 | 8.9 | Patch available | GHSA-8g2j-rhfh-hq3r |
- syntax-markdown VendorXWiki Affected 8.2 to before 8.9 Fixed in 8.9 Patch available CNA
- org.xwiki.contrib.markdown:syntax-markdown-commonmark12 (Maven) Vendor— Affected 8.2 to before 8.9 Fixed in 8.9 Patch available GHSA-8g2j-rhfh-hq3r
Remediation
- Fix · CNA syntax-markdown (xwiki-contrib) Fixed in 8.9
- Fix · GHSA-8g2j-rhfh-hq3r org.xwiki.contrib.markdown:syntax-markdown-commonmark12 (Maven) Fixed in 8.9 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-46558
- 2026-10-03 Alias added: GHSA-8g2j-rhfh-hq3r
References
Patch 2
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-2025-46558 · CVE Program
- CVE-2025-46558 · NVD
- FIRST EPSS
- GHSA-8g2j-rhfh-hq3r · 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