{"cve":"CVE-2025-46558","nvd":{"published":"2025-04-30T19:15:55.930","modified":"2026-06-17T09:26:37.613","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9.0},"cwes":["CWE-79"],"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"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T22:01:11.054312287+00:00"},"epss":{"cve":"CVE-2025-46558","score":0.00486,"percentile":0.41872,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8g2j-rhfh-hq3r","url":"https://osv.dev/vulnerability/GHSA-8g2j-rhfh-hq3r","summary":"org.xwiki.contrib.markdown:syntax-markdown-commonmark12 vulnerable to XSS via Markdown content","modified":"2025-05-01T13:30:39Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.contrib.markdown:syntax-markdown-commonmark12","purl":"pkg:maven/org.xwiki.contrib.markdown/syntax-markdown-commonmark12","ranges":[">=8.2 <8.9"],"fixed":["8.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}