{"cve":"CVE-2023-45134","nvd":{"published":"2023-10-25T20:15:11.860","modified":"2026-06-17T06:28:17.180","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-1 and prior to 13.4-rc-1, `org.xwiki.platform:xwiki-platform-web-templates` prior to versions 14.10.2 and 15.5-rc-1, and `org.xwiki.platform:xwiki-web-standard` starting in version 2.4-milestone-2 and prior to version 3.1-milestone-1 are vulnerable to cross-site scripting. An attacker can create a template provider on any document that is part of the wiki (could be the attacker's user profile) that contains malicious code. This code is executed when this template provider is selected during document creation which can be triggered by sending the user to a URL. For the attacker, the only requirement is to have an account as by default the own user profile is editable. This allows an attacker to execute arbitrary actions with the rights of the user opening the malicious link. Depending on the rights of the user, this may allow remote code execution and full read and write access to the whole XWiki installation. This has been patched in `org.xwiki.platform:xwiki-platform-web` 13.4-rc-1, `org.xwiki.platform:xwiki-platform-web-templates` 14.10.2 and 15.5-rc-1, and `org.xwiki.platform:xwiki-web-standard` 3.1-milestone-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:H/I:H/A:H","score":9.0},"cwes":["CWE-79"],"references":["https://github.com/xwiki/xwiki-platform/commit/ba56fda175156dd35035f2b8c86cbd8ef1f90c2e","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gr82-8fj2-ggc3","https://jira.xwiki.org/browse/XWIKI-20962","https://github.com/xwiki/xwiki-platform/commit/ba56fda175156dd35035f2b8c86cbd8ef1f90c2e","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gr82-8fj2-ggc3"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:40:11.519948003+00:00"},"epss":{"cve":"CVE-2023-45134","score":0.02015,"percentile":0.80904,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gr82-8fj2-ggc3","url":"https://osv.dev/vulnerability/GHSA-gr82-8fj2-ggc3","summary":"XWiki Platform XSS vulnerability from account in the create page form via template provider","modified":"2023-11-08T04:13:36.954584Z","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-web-standard","purl":"pkg:maven/org.xwiki.platform/xwiki-web-standard","ranges":[">=2.4-milestone-2 <3.1-milestone-1"],"fixed":["3.1-milestone-1"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-web","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web","ranges":[">=3.1-milestone-1 <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."]}