CVE-2025-46558
Description
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.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-04-30 |
Timeline
- 2025-04-30Published by the CNA18:27 UTC
- 2025-04-30GitHub advisory published (GHSA-8g2j-rhfh-hq3r)same day
- 2025-04-30CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-8g2j-rhfh-hq3r, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.xwiki.contrib.markdown:syntax-markdown-commonmark12 | from 8.2 before 8.9 | 8.9 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| xwiki xwiki | from 8.2 before 8.9fixed in 8.9 | 8.9 |
References
- https://github.com/xwiki-contrib/syntax-markdown/commit/d136472d6e8a47981a0ede420a9096f88ffa5035
- https://github.com/xwiki-contrib/syntax-markdown/security/advisories/GHSA-8g2j-rhfh-hq3r
- https://jira.xwiki.org/browse/MARKDOWN-80
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-46558'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-46558'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-46558'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-46558'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).