cve.bz

CVE-2024-31988 xwiki xwiki: Cross Site Reference Forgery

8.8 highExploit referenceEPSS 0.7%Fix available

High (8.8) in xwiki xwiki. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.xwiki.platform:xwiki-platform-realtime-ui 14.10.19, 15.5.4, 15.9.

On this page
XWiki Platform is a generic wiki platform. Starting in version 13.9-rc-1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, when the realtime editor is installed in XWiki, it allows arbitrary remote code execution with the interaction of an admin user with programming right. More precisely, by getting an admin user to either visit a crafted URL or to view an image with this URL that could be in a comment, the attacker can get the admin to execute arbitrary XWiki syntax including scripting macros with Groovy or Python code. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.19, 15.5.4 and 15.9. As a workaround, one may update `RTFrontend.ConvertHTML` manually with the patch. This will, however, break some synchronization processes in the realtime editor, so upgrading should be the preferred way on installations where this editor is used.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-04-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-352 Cross-Site Request Forgery (Cross Site Reference Forgery)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-31988 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-31988?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-31988?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-31988 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xwiki:xwikifrom 13.9 before 14.10.19
xwiki:xwikifrom 15.0 before 15.5.4
xwiki:xwikifrom 15.6 before 15.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r5vh-gc3r-r24wMavenorg.xwiki.platform:xwiki-platform-realtime-ui>=13.9-rc-1 <14.10.1914.10.19
GHSA-r5vh-gc3r-r24wMavenorg.xwiki.platform:xwiki-platform-realtime-ui>=15.0-rc-1 <15.5.415.5.4
GHSA-r5vh-gc3r-r24wMavenorg.xwiki.platform:xwiki-platform-realtime-ui>=15.6-rc-1 <15.915.9

Attack patterns (CAPEC)

  • CAPEC-62 Cross Site Request Forgery Likelihood: High · Severity: Very High
  • CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) Likelihood: High · Severity: High
  • CAPEC-462 Cross-Domain Search Timing Severity: Medium
  • CAPEC-467 Cross Site Identification Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON