{"cve":"CVE-2023-29528","nvd":{"published":"2023-04-20T18:15:07.307","modified":"2026-06-17T05:50:28.250","status":"Modified","description":"XWiki Commons are technical libraries common to several other top level XWiki projects. The \"restricted\" mode of the HTML cleaner in XWiki, introduced in version 4.2-milestone-1 and massively improved in version 14.6-rc-1, allowed the injection of arbitrary HTML code and thus cross-site scripting via invalid HTML comments. As a consequence, any code relying on this \"restricted\" mode for security is vulnerable to JavaScript injection (\"cross-site scripting\"/XSS). When a privileged user with programming rights visits such a comment in XWiki, the malicious JavaScript code is executed in the context of the user session. This allows server-side code execution with programming rights, impacting the confidentiality, integrity and availability of the XWiki instance. This problem has been patched in XWiki 14.10, HTML comments are now removed in restricted mode and a check has been introduced that ensures that comments don't start with `>`. There are no known workarounds apart from upgrading to a version including the fix.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9.0},"cwes":["CWE-79"],"references":["https://github.com/xwiki/xwiki-commons/commit/8ff1a9d7e5d7b45b690134a537d53dc05cae04ab","https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-x37v-36wv-6v6h","https://jira.xwiki.org/browse/XCOMMONS-2568","https://jira.xwiki.org/browse/XWIKI-20348","https://github.com/xwiki/xwiki-commons/commit/8ff1a9d7e5d7b45b690134a537d53dc05cae04ab"],"products":["xwiki:commons"],"source":"nvd","synced_at":"2026-10-19T21:38:05.473481323+00:00"},"epss":{"cve":"CVE-2023-29528","score":0.01277,"percentile":0.69969,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x37v-36wv-6v6h","url":"https://osv.dev/vulnerability/GHSA-x37v-36wv-6v6h","summary":"Cross-site Scripting in org.xwiki.commons:xwiki-commons-xml","modified":"2026-09-10T03:50:01.248289617Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.commons:xwiki-commons-xml","purl":"pkg:maven/org.xwiki.commons/xwiki-commons-xml","ranges":[">=4.2-milestone-1 <14.10"],"fixed":["14.10"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}