CVE-2025-46558 org.xwiki.contrib.markdown:syntax-markdown-commonmark12 vulnerable to XSS via Markdown content
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.xwiki.contrib.markdown/syntax-markdown-commonmark12(Maven) | >= 8.2, < 8.9 | 8.9 | Fixed |
| xwiki | >= 8.2, < 8.9 | 8.9 | Fixed |
| xwiki-contrib syntax-markdown | = >= 8.2, < 8.9 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.contrib.markdown/syntax-markdown-commonmark12(Maven) | >= 8.2, < 8.9 | 8.9 |
| xwiki-contrib syntax-markdown | = >= 8.2, < 8.9 | No fix listed |
| xwiki | >= 8.2, < 8.9 | 8.9 |
References
- https://github.com/xwiki-contrib/syntax-markdown/security/advisories/GHSA-8g2j-rhfh-hq3r patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/xwiki-contrib/syntax-markdown/commit/d136472d6e8a47981a0ede420a9096f88ffa5035 patch
- github.com product
- https://jira.xwiki.org/browse/MARKDOWN-80 exploit issue-tracking
- github.com