CVE-2025-49585
highpriority · track · 32EPSS 0.004 · 38 %ileDEEURUUSEPSS · scored 2026-10-26
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.1–9
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (18)
Products and version ranges known to be affected.
- Maven org.xwiki.platform:xwiki-platform-security-requiredrights-default< 15.10.16osvUSpkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default
- Maven org.xwiki.platform:xwiki-platform-security-requiredrights-default16.0.0-rc-1 → 16.4.7osvUSpkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default
- Maven org.xwiki.platform:xwiki-platform-security-requiredrights-default16.5.0-rc-1 → 16.10.2osvUSpkg:maven/org.xwiki.platform/xwiki-platform-security-requiredrights-default
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1324xwiki: Mehrere SchwachstellenDeutsch2025-06-12csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in xwiki ausnutzen, um seine Privilegien zu erhöhen, beliebigen Programmcode auszuführen, Informationen auszuspähen, Cross-Site-Scripting auszuführen oder weitere nicht spezifizierte Auswirkungen zu erzielen.
- GHSA-59w6-r9hm-439hXWiki does not require right warnings for XClass definitions2025-06-13ghsa · osvUS
### Impact 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. ### Patches 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. ### Workarounds We're not aware of any real workarounds apart from just being careful with editing documents previously edited by untrusted users as a user with script, admin or programming right.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-49585cnnvd
- https://github.com/xwiki/xwiki-platform/commit/385bde985cdb61ebf315d30c0b144b6d2e2c2d45cnnvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-59w6-r9hm-439hcnnvd
- https://jira.xwiki.org/browse/XWIKI-22476cnnvd
- https://www.xwiki.org/xwiki/bin/view/Download/Patchcnnvd
- https://github.com/xwiki/xwiki-platform/commit/385bde985cdb61ebf315d30c0b144b6d2e2c2d45enisa_euvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-59w6-r9hm-439henisa_euvd
- https://jira.xwiki.org/browse/XWIKI-22476enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan