BreachSpiderVerified, not vibes

CVE-2025-49585 in Xwiki

High 8.0

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 program...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.0
CVSS v48.6
EPSS1.6%
EPSS percentile77th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Xwiki Xwiki < 15.10.16 ≥ 16.0.0, < 16.4.7 ≥ 16.5.0, < 16.10.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-49585
BreachSpider IDBS-2025-GLOBAL-246706-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Published2025-06-13
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-357: CWE-357

Analysis AI-written, not human-reviewed

{ "executive_summary": "CVE-2025-49585 affects XWiki versions before 15.10.16, 16.0.0-rc-1 through 16.4.6, and 16.5.0-rc-1 through 16.10.1, allowing an attacker with edit rights to create an XClass definition that can execute malicious code when edited by a user with script, admin, or programming rights.", "attack_vector_detail": "An attacker without script or programming rights can create a malicious XClass definition. If this definition is later edited by a user with higher privileges (script, admin, or programming rights), the malicious code embedded in the XClass definition is executed with the rights of the editing user.", "affected_components": ["XWiki versions before 15.10.16", "XWiki versions 16.0.0-rc-1 through 16.4.6", "XWiki versions 16.5.0-rc-1 through 16.10.1"], "exploitation_likelihood": "MEDIUM",

Vulnerability details: 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 proper CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.

Questions

What is CVE-2025-49585?

{ "executive_summary": "CVE-2025-49585 affects XWiki versions before 15.10.16, 16.0.0-rc-1 through 16.4.6, and 16.5.0-rc-1 through 16.10.1, allowing an attacker with edit rights to create an XClass definition that can execute malicious code when edited by a user with script, admin, or programming rights.", "attack_vector_detail": "An attacker without script or programming rights can create a malicious XClass definition. If this definition is later edited by a user with higher privileges (scr

What is the CVSS score for CVE-2025-49585?

CVE-2025-49585 has CVSS 8.0 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H. EPSS: 1.6%.

Is CVE-2025-49585 actively exploited?

No confirmed active exploitation of CVE-2025-49585 as of 2026-09-25.

How do I remediate CVE-2025-49585?

Priority: MEDIUM. Advisory: https://jira.xwiki.org/browse/XWIKI-22476 PSIRT: [email protected]

What systems are affected by CVE-2025-49585?

CVE-2025-49585 affects Xwiki Xwiki.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Xwiki","product":"Xwiki","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.