{"id":"CVE-2025-53835","state":"PUBLISHED","title":"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.","publishedAt":"2025-07-14T23:00:35.577Z","updatedAt":"2025-07-15T19:49:26.336Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["xwiki xwiki-rendering"],"affected":[{"vendor":"xwiki","product":"xwiki-rendering","versions":[{"version":">= 5.4.5, < 14.10","status":"affected"}]}],"references":["https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-w3wh-g4m9-783p","https://github.com/xwiki/xwiki-rendering/commit/a4ca31f99f524b9456c64150d6f375984aa81ea7","https://jira.xwiki.org/browse/XRENDERING-660"],"weaknesses":["CWE-79","CWE-80"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/53xxx/CVE-2025-53835.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-53835","state":"PUBLISHED","datePublished":"2025-07-14T23:00:35.577Z","dateUpdated":"2025-07-15T19:49:26.336Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-07-09T14:14:52.532Z"},"containers":{"cna":{"title":"XWiki Rendering is vulnerable to XSS attacks through insecure XHTML syntax","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"xwiki","product":"xwiki-rendering","versions":[{"version":">= 5.4.5, < 14.10","status":"affected"}]}],"references":[{"url":"https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-w3wh-g4m9-783p","name":"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","name":"https://github.com/xwiki/xwiki-rendering/commit/a4ca31f99f524b9456c64150d6f375984aa81ea7","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XRENDERING-660","name":"https://jira.xwiki.org/browse/XRENDERING-660","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-80","lang":"en","description":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-07-14T23:00:35.577Z"},"source":{"advisory":"GHSA-w3wh-g4m9-783p","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-w3wh-g4m9-783p","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-15T13:25:17.313296Z","id":"CVE-2025-53835","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-15T19:49:26.336Z"}}]}}}