{"cve":"CVE-2025-49585","nvd":{"published":"2025-06-13T18:15:22.580","modified":"2026-06-17T09:31:32.317","status":"Analyzed","description":"XWiki is a generic wiki platform. In versions before 15.10.16, 16.0.0-rc-1 through 16.4.6, and 16.5.0-rc-1 through 16.10.1, when an attacker without script or programming right creates an XClass definition in XWiki (requires edit right), and that same document is later edited by a user with script, admin, or programming right, malicious code could be executed with the rights of the editing user without prior warning. In particular, this concerns custom display code, the script of computed properties and queries in database list properties. Note that warnings before editing documents with dangerous properties have only been introduced in XWiki 15.9, before that version, this was a known issue and the advice was simply to be careful. This has been patched in XWiki 16.10.2, 16.4.7 and 15.10.16 by adding an analysis for the respective XClass properties.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N","score":8.6},"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-357"],"references":["https://github.com/xwiki/xwiki-platform/commit/385bde985cdb61ebf315d30c0b144b6d2e2c2d45","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-59w6-r9hm-439h","https://jira.xwiki.org/browse/XWIKI-22476"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T22:02:23.998251710+00:00"},"epss":{"cve":"CVE-2025-49585","score":0.00438,"percentile":0.38092,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-59w6-r9hm-439h","url":"https://osv.dev/vulnerability/GHSA-59w6-r9hm-439h","summary":"XWiki does not require right warnings for XClass definitions","modified":"2025-06-13T21:12:17.950201Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-security-requiredrights-default","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default","ranges":["<15.10.16"],"fixed":["15.10.16"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-security-requiredrights-default","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default","ranges":[">=16.0.0-rc-1 <16.4.7"],"fixed":["16.4.7"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-security-requiredrights-default","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default","ranges":[">=16.5.0-rc-1 <16.10.2"],"fixed":["16.10.2"]}]}],"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."]}