Security mailing lists by PureSourceCode

CVE-2025-49585

HIGH 8.6CVSS 4.0

XWiki does not require right warnings for XClass definitions

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.

Published
13 Jun 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-357
Also known as
GHSA-59w6-r9hm-439h
Sources
NVDJSONOSV GHSA-59w6-r9hm-439hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.6 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
< 15.10.16 15.10.16
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
>= 16.0.0, < 16.4.7 16.4.7
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
>= 16.5.0, < 16.10.2 16.10.2
OSV Maven org.xwiki.platform:xwiki-platform-security-requiredrights-default < 15.10.16 15.10.16
OSV Maven org.xwiki.platform:xwiki-platform-security-requiredrights-default >= 16.0.0-rc-1, < 16.4.7 16.4.7
OSV Maven org.xwiki.platform:xwiki-platform-security-requiredrights-default >= 16.5.0-rc-1, < 16.10.2 16.10.2

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 13 Jun 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Jun 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.