{"cve":"CVE-2023-45137","nvd":{"published":"2023-10-25T21:15:10.017","modified":"2026-06-17T06:28:17.620","status":"Modified","description":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. `org.xwiki.platform:xwiki-platform-web` starting in version 3.1-milestone-2 and prior to version 13.4-rc-1, as well as `org.xwiki.platform:xwiki-platform-web-templates` prior to versions 14.10.12 and 15.5-rc-1, are vulnerable to cross-site scripting. When trying to create a document that already exists, XWiki displays an error message in the form for creating it. Due to missing escaping, this error message is vulnerable to raw HTML injection and thus XSS. The injected code is the document reference of the existing document so this requires that the attacker first creates a non-empty document whose name contains the attack code. This has been patched in `org.xwiki.platform:xwiki-platform-web` version 13.4-rc-1 and `org.xwiki.platform:xwiki-platform-web-templates` versions 14.10.12 and 15.5-rc-1 by adding the appropriate escaping. The vulnerable template file `createinline.vm` is part of XWiki's WAR and can be patched by manually applying the changes from 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:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/xwiki/xwiki-platform/commit/ed8ec747967f8a16434806e727a57214a8843581","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-93gh-jgjj-r929","https://jira.xwiki.org/browse/XWIKI-20961","https://github.com/xwiki/xwiki-platform/commit/ed8ec747967f8a16434806e727a57214a8843581","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-93gh-jgjj-r929"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:40:11.519948003+00:00"},"epss":{"cve":"CVE-2023-45137","score":0.00753,"percentile":0.55061,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-93gh-jgjj-r929","url":"https://osv.dev/vulnerability/GHSA-93gh-jgjj-r929","summary":"XWiki Platform vulnerable to XSS with edit right in the create document form for existing pages","modified":"2023-11-08T04:13:37.136855Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-web-templates","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web-templates","ranges":["<14.10.12"],"fixed":["14.10.12"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-web-templates","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web-templates","ranges":[">=15.0-rc-1 <15.5-rc-1"],"fixed":["15.5-rc-1"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-web","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web","ranges":[">=3.1-milestone-2 <13.4-rc-1"],"fixed":["13.4-rc-1"]}]}],"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."]}