CVE-2025-46558

Critical

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.

SeverityCritical
CVSS9.0
Exploit probability—
ProductXwiki
PublishedApr 30, 2025
First seenApr 30, 2025

How to fix

Update
  • xwiki xwiki8.9 or later
  • org.xwiki.contrib.markdown:syntax-markdown-commonmark128.9 or later

Affected products

ProductAffected versionsFixed in
xwiki xwiki8.2 ≤ v < 8.98.9
org.xwiki.contrib.markdown:syntax-markdown-commonmark12Maven8.2 ≤ v < 8.98.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.