CVE-2025-49585: XWiki - Stored XSS
- Cve: CVE-2025-49585
- Name: XWiki - Stored XSS
- 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.
- Impact: Attackers can execute malicious code with admin or script rights, leading to full system compromise or data manipulation.
- Remediation: Update to versions 15.10.16, 16.4.7, 16.10.2 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs edit rights to create XClass definitions
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00457
- Epss percentile: 0.40418
- Assignee: [email protected]
- Published at: 2025-06-13T18:15:22Z
- Age in days: 529
- Modified at: 2026-06-17T09:31:32Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-49585
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-357 | Insufficient UI Warning of Dangerous Operations |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://jira.xwiki.org/browse/XWIKI-22476 | nvd | 2025-06-13 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/xwiki/xwiki-platform/commit/385bde985cdb61ebf315d30c0b144b6d2e2c2d45 | Patch |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-59w6-r9hm-439h | Vendor Advisory |
| https://jira.xwiki.org/browse/XWIKI-22476 | Exploit, Issue Tracking, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xwiki:xwiki | >= 16.5.0, < 16.10.2; >= 16.0.0, < 16.4.7; < 15.10.16 | no | nvd | /v1/products/xwiki/xwiki |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| xwiki/xwiki-platform | commit, package, security_advisory | yes | /v1/repositories/xwiki/xwiki-platform |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-06-13
- Remote: yes
- Authentication required: yes
- Exposed hosts: 142594
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports