{"id":"CVE-2025-45388","aliases":["CVE-2025-45388"],"related":[],"kind":"vulnerability","state":"published","title":"Wagtail CMS 6.4.1 is vulnerable to a Stored Cross-Site Scripting (XSS) in the document upload functionality.","summary":"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).\"","summarySource":"cvelist","descriptions":[{"lang":"en","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).\"","source":"cvelist"},{"lang":"es","text":"Wagtail CMS 6.4.1 es vulnerable a un ataque de Cross-Site Scripting (XSS) almacenado en la función de carga de documentos. Los atacantes pueden inyectar código malicioso en un archivo PDF. Cuando un usuario hace clic en el documento en la interfaz del CMS, se ejecuta el payload.","source":"nvd"}],"published":"2025-05-07T00:00:00.000Z","modified":"2026-06-17T09:25:30.240Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"}],"references":[{"url":"https://github.com/echoBRT/Wagtail-CMS-XSS/","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wagtail/wagtail/wiki/Security-team","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/wagtail/wagtail/discussions/12617","tags":[],"sources":["cvelist","nvd"]},{"url":"https://docs.wagtail.org/en/stable/deployment/under_the_hood.html#documents","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/wagtail/wagtail/pull/12672","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-05-08T15:12:38.265Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-45388","url":"https://www.cve.org/CVERecord?id=CVE-2025-45388","licence":"CVE Terms of Use","modified":"2025-05-09T13:32:10.146Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-45388","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45388","licence":"Public domain","modified":"2026-06-17T09:25:30.240Z"}],"updatedAt":"2026-11-25T22:58:57.778Z","epss":{"score":0.00399,"percentile":0.36256,"date":"2026-12-01T12:00:22.000Z"}}