{"cve":"CVE-2023-40572","nvd":{"published":"2023-08-24T02:15:09.643","modified":"2026-06-17T06:18:31.253","status":"Modified","description":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The create action is vulnerable to a CSRF attack, allowing script and thus remote code execution when targeting a user with script/programming right, thus compromising the confidentiality, integrity and availability of the whole XWiki installation. When a user with script right views this image and a log message `ERROR foo - Script executed!` appears in the log, the XWiki installation is vulnerable. This has been patched in XWiki 14.10.9 and 15.4RC1 by requiring a CSRF token for the actual page creation.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8.0},"cwes":["CWE-352"],"references":["https://github.com/xwiki/xwiki-platform/commit/4b20528808d0c311290b0d9ab2cfc44063380ef7","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4f8m-7h83-9f6m","https://jira.xwiki.org/browse/XWIKI-20849","https://github.com/xwiki/xwiki-platform/commit/4b20528808d0c311290b0d9ab2cfc44063380ef7","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4f8m-7h83-9f6m"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:39:14.809778102+00:00"},"epss":{"cve":"CVE-2023-40572","score":0.00619,"percentile":0.49676,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-4f8m-7h83-9f6m","url":"https://osv.dev/vulnerability/GHSA-4f8m-7h83-9f6m","summary":"XWiki Platform vulnerable to CSRF privilege escalation/RCE via the create action","modified":"2026-09-10T03:49:57.367164345Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","ranges":[">=3.2-milestone-3 <14.10.9"],"fixed":["14.10.9"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","ranges":[">=15.0-rc-1 <15.4-rc-1"],"fixed":["15.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."]}