CVE-2024-31986

XWiki Platform CSRF remote code execution through scheduler job's document reference

State
Published
Severity
9.1 Critical
Published
Apr 10, 2024
Updated
Aug 2, 2024
Reserved
Apr 8, 2024

Read the record on cve.org

Description

XWiki Platform is a generic wiki platform. Starting in version 3.1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, by creating a document with a special crafted documented reference and an `XWiki.SchedulerJobClass` XObject, it is possible to execute arbitrary code on the server whenever an admin visits the scheduler page or the scheduler page is referenced, e.g., via an image in a comment on a page in the wiki. The vulnerability has been fixed in XWiki 14.10.19, 15.5.5, and 15.9. As a workaround, apply the patch manually by modifying the `Scheduler.WebHome` page.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-352 Cross-Site Request Forgery (CSRF)
  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Affected Products

ProductVersions
xwiki-platformxwiki
  • >= 3.1, < 14.10.19Affected
  • >= 15.0-rc-1, < 15.5.4Affected
  • >= 15.6-rc-1, < 15.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.