WaratekVRT Sign in

CVE-2023-48240 XWiki

Affected softwareXWiki
Severity9.0 Critical CVSS 3.1 2 scores
Fixed in14.10.15, 15.5.1, 15.6
WeaknessServer-side request forgery (CWE-918)
Published20 Nov 2023
Updated17 Jun 2026

Description

XWiki Platform is a generic wiki platform. The rendered diff in XWiki embeds images to be able to compare the contents and not display a difference for an actually unchanged image. For this, XWiki requests all embedded images on the server side. These requests are also sent for images from other domains and include all cookies that were sent in the original request to ensure that images with restricted view right can be compared. Starting in version 11.10.1 and prior to versions 14.10.15, 15.5.1, and 15.6, this allows an attacker to steal login and session cookies that allow impersonating the current user who views the diff. The attack can be triggered with an image that references the rendered diff, thus making it easy to trigger. Apart from stealing login cookies, this also allows server-side request forgery (the result of any successful request is returned in the image's source) and viewing protected content as once a resource is cached, it is returned for all users. As only successful requests are cached, the cache will be filled by the first user who is allowed to access the resource. This has been patched in XWiki 14.10.15, 15.5.1 and 15.6. The rendered diff now only downloads images from trusted domains. Further, cookies are only sent when the image's domain is the same the requested domain. The cache has been changed to be specific for each user. As a workaround, the image embedding feature can be disabled by deleting xwiki-platform-diff-xml-<version>.jar in WEB-INF/lib/.

CWE-201CWE-281

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.71% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: xwiki/xwiki-platform bff0203.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/xwiki/xwiki-platform/commit/bff0203e739b6e3eb90af5736f04278c73c2a8bb : a commit: the change itself

CVSS

9.0 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.0 CRITICAL CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H security-advisories@github.com Secondary published
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 NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xwiki.platform:xwiki-platform-diff-xml 11.10.1 14.10.15 unbounded
org.xwiki.platform:xwiki-platform-diff-xml 15.0-rc-1 15.5.1 unbounded
org.xwiki.platform:xwiki-platform-diff-xml 15.6-rc-1 15.6 unbounded

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
osv org.xwiki.platform xwiki-platform-diff-xml generic ≥ 11.10.1 and < 14.10.15 · ≥ 15.0 and < 15.5.1 · ≥ 15.6 and < 15.6
nvd xwiki xwiki generic ≥ 11.10.1 and < 14.10.15 · ≥ 15.0 and < 15.5.1 · 15.6:rc1

References

URLTags
https://github.com/xwiki/xwiki-platform/commit/bff0203e739b6e3eb90af5736f04278c73c2a8bb commit
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7rfg-6273-f5wp WEB
https://github.com/xwiki/xwiki-platform PACKAGE
https://jira.xwiki.org/browse/XWIKI-20818 WEB

Timeline

Published2023-11-20By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.