Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-48240

CRITICAL 9.1EPSS 66%

XWiki Platform sends cookies to external images in rendered diff and is vulnerable to server side request forgery

Also known as GHSA-7rfg-6273-f5wp

Mitigation

  • Upgrade org.xwiki.platform:xwiki-platform-diff-xml to one of 14.10.15, 15.5.1, 15.6 (or later in the same release line).

Who should check

  • Projects that depend on Maven package org.xwiki.platform:xwiki-platform-diff-xml (>= 11.10.1, < 14.10.15)
  • Anyone running xwiki-platform >= 11.10.1, < 14.10.15; >= 15.0-rc-1, < 15.5.1; >= 15.6-rc-1, < 15.6

Vulnerability facts

Affected
org.xwiki.platform:xwiki-platform-diff-xml >= 11.10.1, < 14.10.15
Fixed in
14.10.15, 15.5.1, 15.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
9.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
1.13% chance of exploitation in 30 days (percentile 66, 2026-11-26)
CWE
CWE-201, CWE-281, CWE-918
Published
Modified

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/`.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.xwiki.platform:xwiki-platform-diff-xml>= 11.10.1, < 14.10.1514.10.15, 15.5.1, 15.6osv
xwiki-platform>= 11.10.1, < 14.10.15; >= 15.0-rc-1, < 15.5.1; >= 15.6-rc-1, < 15.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-48240. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-48240.md
Affected: org.xwiki.platform:xwiki-platform-diff-xml >= 11.10.1, < 14.10.15
Fixed in: 14.10.15, 15.5.1, 15.6

Steps:
1. Search this machine and project for org.xwiki.platform:xwiki-platform-diff-xml (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-48240 being exploited?

There is no confirmed exploitation: CVE-2023-48240 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.13% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-48240?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2023-48240?

org.xwiki.platform:xwiki-platform-diff-xml >= 11.10.1, < 14.10.15.

Is there a fix for CVE-2023-48240?

Yes. Fixed in 14.10.15, 15.5.1, 15.6. Upgrade org.xwiki.platform:xwiki-platform-diff-xml to one of 14.10.15, 15.5.1, 15.6 (or later in the same release line).

How do I check if I'm affected by CVE-2023-48240?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors