CVE-2025-49585
HIGHDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Exploit Intelligence
Low risk: more likely to be exploited than 29% of all known CVEs.
References
Related Vulnerabilities
Other CWE-357 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2019-13521 | High | 7.8 | 5.6% | - | - |
| CVE-2021-22645 | High | 7.8 | 1.5% | - | Fix |
| CVE-2024-29057 | Medium | 4.3 | 1.0% | - | Fix |
| CVE-2026-26151 | High | 7.1 | 0.8% | - | Fix |
| CVE-2025-33054 | High | 8.1 | 0.8% | - | Fix |
| CVE-2024-26188 | Medium | 4.3 | 0.8% | - | Fix |
Common questions
How do I fix CVE-2025-49585?
Upgrade xwiki to 16.10.2 or later.
Is CVE-2025-49585 being actively exploited?
Not that we know of. CVE-2025-49585 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.36% is the estimated probability that it will be exploited in the next 30 days. That is higher than 29% of all scored CVEs.
How severe is CVE-2025-49585?
CVE-2025-49585 has a CVSS v3 base score of 8.0, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2025-49585 affect?
Published advisories record a fix for xwiki (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2025-49585
Markdown
[](https://tridentstack.com/cve/CVE-2025-49585)HTML
<a href="https://tridentstack.com/cve/CVE-2025-49585"><img src="https://tridentstack.com/cve/badge/CVE-2025-49585.svg" alt="CVE-2025-49585"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-09-03.