{"id":"CVE-2025-46558","published":"2025-04-30T18:27:30Z","modified":"2025-04-30T19:01:32Z","title":"org.xwiki.contrib.markdown:syntax-markdown-commonmark12 vulnerable to XSS via Markdown content","vendor":"xwiki-contrib","product":"syntax-markdown","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00496,"percentile":0.43382,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/xwiki-contrib/syntax-markdown/security/advisories/GHSA-8g2j-rhfh-hq3r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki-contrib/syntax-markdown/commit/d136472d6e8a47981a0ede420a9096f88ffa5035","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/MARKDOWN-80","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":8.68},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"xwiki-contrib","affectedVersions":[{"vendor":"xwiki-contrib","product":"syntax-markdown","versions":[">= 8.2, < 8.9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-30T19:01:24.774798Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.contrib.markdown:syntax-markdown-commonmark12","vulnerableRanges":[">=8.2, <8.9"],"patched":["8.9"],"from":["GHSA-8g2j-rhfh-hq3r"],"provenance":"source"}],"summary":{"text":"The Syntax Markdown component (syntax-markdown, from xwiki-contrib) allows Markdown content in XWiki pages to pass through raw HTML without neutralising it, so any user can embed JavaScript that runs in the browser of others. An attacker needs only low-privileged access to create or edit content, and exploitation requires another user to view the affected page or comment; if that user has admin or programming rights, the impact extends to the whole XWiki installation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:56Z"},"euvd":{"id":"EUVD-2025-12747","exploited":false,"provenance":"source"}}