CVE-2025-46558 json
org.xwiki.contrib.markdown:syntax-markdown-commonmark12 vulnerable to XSS via Markdown content
published 2025-04-30 18 mo ago modified 2026-06-17 4 mo ago also GHSA-8g2j-rhfh-hq3r , EUVD-2025-12747
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.xwiki.contrib.markdown:syntax-markdown-commonmark12 8.9
- xwiki xwiki 8.9
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- jira.xwiki.org https://jira.xwiki.org/browse/MARKDOWN-80 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.contrib.markdown:syntax-markdown-commonmark12 | >=8.2, <8.9 |
8.9 |
Affected products
- xwiki-contrib syntax-markdown
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/xwiki-contrib/syntax-markdown/commit/d136472d6e8a47981a0ede420a9096f88ffa5035
web, patch
-
github.com
/xwiki-contrib/syntax-markdown/security/advisories/GHSA-8g2j-rhfh-hq3r
web, patch, third-party-advisory
-
jira.xwiki.org
/browse/MARKDOWN-80
web, exploit, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2025-46558
advisory
-
github.com
/xwiki-contrib/syntax-markdown
package
Sources
- CVE List CVE-2025-46558
- GitHub Advisory GHSA-8g2j-rhfh-hq3r
- NVD CVE-2025-46558
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.