CVE-2025-45388
MEDIUMWagtail CMS 6.4.1 - Stored Cross-Site Scripting via Document Upload
Title source: llmDescription
Wagtail CMS 6.4.1 is vulnerable to a Stored Cross-Site Scripting (XSS) in the document upload functionality. Attackers can inject malicious code inside a PDF file. When a user clicks the document in the CMS interface, the payload executes. NOTE: this is disputed by the Supplier because "It has been well documented that when serving uploaded files using a method outside of Wagtail (which admittedly is the default), it requires additional configuration from the developer, because Wagtail cannot control how these are served. ... For example, if a Wagtail instance is configured to upload files into AWS S3, Wagtail cannot control the permissions on how they're served, nor any headers used when serving them (a limitation of S3)."
References (5)
Core 5
Core References
Various Sources
https://github.com/wagtail/wagtail/discussions/12617
Issue Tracking
https://github.com/wagtail/wagtail/pull/12672
Third Party Advisory
https://github.com/wagtail/wagtail/wiki/Security-team
Scores
CVSS v3
6.1
EPSS
0.0026
EPSS Percentile
17.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Published
May 07, 2025
Tracked Since
Feb 18, 2026