{"id":"CVE-2025-45388","published":"2025-05-07T00:00:00Z","modified":"2025-05-09T13:32:10Z","title":"Wagtail CMS 6.4.1 is vulnerable to a Stored Cross-Site Scripting (XSS) in the document upload functionality","vendor":null,"product":null,"tier":"tail","description":{"text":"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).\"","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00319,"percentile":0.2548,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/echoBRT/Wagtail-CMS-XSS/","tags":[]},{"url":"https://github.com/wagtail/wagtail/wiki/Security-team","tags":[]},{"url":"https://github.com/wagtail/wagtail/discussions/12617","tags":[]},{"url":"https://docs.wagtail.org/en/stable/deployment/under_the_hood.html#documents","tags":[]},{"url":"https://github.com/wagtail/wagtail/pull/12672","tags":[]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":5.1},{"name":"CVSS severity","points":4.27}]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-08T15:12:38.265952Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-13925","exploited":false,"provenance":"source"}}