XWiki Rendering is vulnerable to XSS attacks through insecure XHTML syntax
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.xwiki.rendering:xwiki-rendering-syntax-xhtmlMaven | >= 5.4.5, < 14.10 | 14.10 |
Affected products
2- Range: >= 5.4.5, < 14.10
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-w3wh-g4m9-783pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-53835ghsaADVISORY
- github.com/xwiki/xwiki-rendering/commit/a4ca31f99f524b9456c64150d6f375984aa81ea7ghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-rendering/security/advisories/GHSA-w3wh-g4m9-783pghsax_refsource_CONFIRMWEB
- jira.xwiki.org/browse/XRENDERING-660ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.