Critical severity · published Jul 14, 2025
CVE-2025-53835
XWiki Rendering is vulnerable to XSS attacks through insecure XHTML syntax
9.0
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
XW
xwiki-rendering · xwiki
>= 5.4.5, < 14.10 · source: vendor
XW
Xwiki · Xwiki
5.4.5 before 14.10 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-53835
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-53835
Patch
https://github.com/xwiki/xwiki-rendering/commit/a4ca31f99f524b9456c64150d6f375984aa81ea7
Patch
https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-w3wh-g4m9-783p
Issue Tracking
https://jira.xwiki.org/browse/XRENDERING-660
More from xwiki-rendering
9.9
CVE-2025-53837
org.xwiki.rendering:xwiki-rendering-xml has an Eval Injection issue
9.6
CVE-2023-37908
XWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax
8.8
CVE-2025-66474
XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
8.8
CVE-2025-53836
XWiki Rendering is vulnerable to RCE attacks when processing nested macros
8.8
CVE-2023-37912
XWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax
