CVE-2025-45388: XSS
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)."
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-45388?
CVE-2025-45388 is classified as a high-severity vulnerability due to the potential for attackers to exploit stored XSS in document uploads.
How do I fix CVE-2025-45388?
To fix CVE-2025-45388, upgrade Wagtail CMS to version 6.4.2 or later, which addresses the stored XSS vulnerability.
What types of attacks can be executed using CVE-2025-45388?
CVE-2025-45388 allows attackers to inject malicious scripts into document uploads, executing when accessed through the CMS interface.
Who is affected by CVE-2025-45388?
Only Wagtail CMS version 6.4.1 is affected by CVE-2025-45388, making it critical for users of this version to upgrade.
What components of Wagtail CMS are impacted by CVE-2025-45388?
CVE-2025-45388 specifically impacts the document upload functionality within Wagtail CMS.