{"id":"CVE-2025-53835","published":"2025-07-14T23:00:35Z","modified":"2025-07-15T19:49:26Z","title":"XWiki Rendering is vulnerable to XSS attacks through insecure XHTML syntax","vendor":"xwiki","product":"xwiki-rendering","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00418,"percentile":0.36929,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-w3wh-g4m9-783p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-rendering/commit/a4ca31f99f524b9456c64150d6f375984aa81ea7","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XRENDERING-660","tags":["x_refsource_MISC"]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":7.39},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-rendering","versions":[">= 5.4.5, < 14.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-07-15T13:25:17.313296Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.rendering:xwiki-rendering-syntax-xhtml","vulnerableRanges":[">=5.4.5, <14.10"],"patched":["14.10"],"from":["GHSA-w3wh-g4m9-783p"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting weakness in the XHTML syntax of XWiki Rendering (product xwiki-rendering, from XWiki), where the XHTML syntax depends on the xdom+xml/current syntax, which permits raw blocks that can carry arbitrary HTML including JavaScript. An attacker who has edit rights on a document, such as a user profile (enabled by default), and can get a victim to interact with the rendered content can execute script in the victim's browser, requiring network access, low privileges, and user interaction; the xdom+xml syntax remains affected and the only remedy is upgrading.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:03Z"},"euvd":{"id":"EUVD-2025-21399","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-xwiki-rendering-cve-2023-32070","parents":[{"from":"CVE-2023-32070","to":"CVE-2025-53835","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["xwiki-rendering-syntaxes/xwiki-rendering-syntax-xhtml/src/main/java/org/xwiki/rendering/internal/parser/xhtml/wikimodel/XHTMLXWikiGeneratorListener.java"],"commits":["https://github.com/xwiki/xwiki-rendering/commit/c40e2f5f9482ec6c3e71dbf1fff5ba8a5e44cdc1","https://github.com/xwiki/xwiki-rendering/commit/a4ca31f99f524b9456c64150d6f375984aa81ea7"],"basis":"rarely changed file"}]}]}}