---
title: "CVE-2025-46558: org.xwiki.contrib.markdown:syntax-markdown-commonmark12 vulnerable to XSS via Markdown content"
url: https://erroneo.us/security/cve/CVE-2025-46558/
description: "CVE-2025-46558 (org.xwiki.contrib.markdown:syntax-markdown-commonmark12 (Maven)): XWiki Contrib's Syntax Markdown allows importing Markdown content into…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-04-30
date_modified: 2025-05-01
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-46558"
kev: false
cvss: 9.1
epss: 0.00478
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-46558: org.xwiki.contrib.markdown:syntax-markdown-commonmark12 vulnerable to XSS via Markdown content

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.5% , percentile 40: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 40% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes org.xwiki.contrib.markdown:syntax-markdown-commonmark12 (Maven) >= 8.2, < 8.9, fixed in 8.9 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Maven `org.xwiki.contrib.markdown:syntax-markdown-commonmark12` >= 8.2, < 8.9 → fixed: 8.9

## Affected products (CVE record)

- xwiki-contrib syntax-markdown: >= 8.2, < 8.9

## Severity

- GitHub_M CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.0 `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.48% probability of exploitation activity in the next 30 days; percentile 40.

## Sources

- [GitHub Advisory GHSA-8g2j-rhfh-hq3r](https://github.com/advisories/GHSA-8g2j-rhfh-hq3r)
- [CVE.org record CVE-2025-46558](https://www.cve.org/CVERecord?id=CVE-2025-46558)
- [NVD entry CVE-2025-46558](https://nvd.nist.gov/vuln/detail/CVE-2025-46558)
- [github.com](https://github.com/xwiki-contrib/syntax-markdown/security/advisories/GHSA-8g2j-rhfh-hq3r)
- [github.com](https://github.com/xwiki-contrib/syntax-markdown/commit/d136472d6e8a47981a0ede420a9096f88ffa5035)
- [jira.xwiki.org](https://jira.xwiki.org/browse/MARKDOWN-80)

---
Source page: https://erroneo.us/security/cve/CVE-2025-46558/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
