XWiki Rendering is vulnerable to XSS attacks through insecure XHTML syntax (xwiki xwiki-rendering)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.41 % Β· percentile 35 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
Description
XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc). Starting in version 5.4.5 and prior to version 14.10, the XHTML syntax depended on the `xdom+xml/current` syntax which allows the creation of raw blocks that permit the insertion of arbitrary HTML content including JavaScript. This allows XSS attacks for users who can edit a document like their user profile (enabled by default). This has been fixed in version 14.10 by removing the dependency on the `xdom+xml/current` syntax from the XHTML syntax. Note that the `xdom+xml` syntax is still vulnerable to this attack. As it's main purpose is testing and its use is quite difficult, this syntax shouldn't be installed or used on a regular wiki. There are no known workarounds apart from upgrading.
Weaknesses (CWE)
- CWE-79 β Improper Neutralization of Input During Web Page Generation
- CWE-80 β Improper Neutralization of Script-Related HTML Tags in a Web Page
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-w3wh-g4m9-783p β XWiki Rendering is vulnerable to XSS attacks through insecure XHTML syntax
European references
- ENISA EUVD Β· EUVD-2025-21399
- GCVE Β· GCVE-0-2025-53835
Affected configurations (NVD CPE)
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*β₯ 5.4.5 < 14.10
Affected products
| Product | Versions |
|---|---|
| xwiki Β· xwiki-rendering | affected >= 5.4.5, < 14.10 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |