XWiki Platform sends cookies to external images in rendered diff and is vulnerable to server side request forgery
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-201.
Summary
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/`.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 11.10.1 to before 14.10.15; 15.0-rc-1 to before 15.5.1; 15.6-rc-1 to before 15.6 | 14.10.15, 15.5.1, 15.6 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-diff-xml (Maven) | 11.10.1 to before 14.10.15 | 14.10.15 | Patch available | GHSA-7rfg-6273-f5wp |
| — | org.xwiki.platform:xwiki-platform-diff-xml (Maven) | 15.0-rc-1 to before 15.5.1 | 15.5.1 | Patch available | GHSA-7rfg-6273-f5wp |
| — | org.xwiki.platform:xwiki-platform-diff-xml (Maven) | 15.6-rc-1 to before 15.6 | 15.6 | Patch available | GHSA-7rfg-6273-f5wp |
- xwiki-platform VendorXWiki Affected 11.10.1 to before 14.10.15; 15.0-rc-1 to before 15.5.1; 15.6-rc-1 to before 15.6 Fixed in 14.10.15, 15.5.1, 15.6 Patch available CNA
- org.xwiki.platform:xwiki-platform-diff-xml (Maven) Vendor— Affected 11.10.1 to before 14.10.15 Fixed in 14.10.15 Patch available GHSA-7rfg-6273-f5wp
- org.xwiki.platform:xwiki-platform-diff-xml (Maven) Vendor— Affected 15.0-rc-1 to before 15.5.1 Fixed in 15.5.1 Patch available GHSA-7rfg-6273-f5wp
- org.xwiki.platform:xwiki-platform-diff-xml (Maven) Vendor— Affected 15.6-rc-1 to before 15.6 Fixed in 15.6 Patch available GHSA-7rfg-6273-f5wp
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.15, 15.5.1, 15.6
- Fix · GHSA-7rfg-6273-f5wp org.xwiki.platform:xwiki-platform-diff-xml (Maven) Fixed in 14.10.15 Advisory →
- Fix · GHSA-7rfg-6273-f5wp org.xwiki.platform:xwiki-platform-diff-xml (Maven) Fixed in 15.5.1 Advisory →
- Fix · GHSA-7rfg-6273-f5wp org.xwiki.platform:xwiki-platform-diff-xml (Maven) Fixed in 15.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-48240
- 2026-10-03 Alias added: GHSA-7rfg-6273-f5wp
References
Patch 2
Advisory 2
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2023-48240 · CVE Program
- CVE-2023-48240 · NVD
- FIRST EPSS
- GHSA-7rfg-6273-f5wp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences