{"id":"GHSA-fvx8-79hx-x82f","summary":"Django MarkdownX Cross-Site Scripting (XSS) vulnerability","details":"Cross-Site Scripting (XSS) vulnerability in the Django MarkdownX project, affecting version 4.0.2. An attacker could store a specially crafted JavaScript payload in the upload functionality due to lack of proper sanitisation of JavaScript elements.","aliases":["CVE-2024-2319","PYSEC-2026-1299"],"modified":"2026-07-07T17:57:01.437591091Z","published":"2024-03-08T15:30:32Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-03-08T16:26:12Z","nvd_published_at":"2024-03-08T14:15:52Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2319"},{"type":"PACKAGE","url":"https://github.com/neutronX/django-markdownx"},{"type":"WEB","url":"https://www.incibe.es/en/incibe-cert/notices/aviso/cross-site-scripting-vulnerability-django-markdownx"}],"affected":[{"package":{"name":"django-markdownx","ecosystem":"PyPI","purl":"pkg:pypi/django-markdownx"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.0.2"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.2.0","0.2.9","0.3.0","0.3.1","0.4.0","0.4.1","0.4.2","1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.1.3","1.2","1.2.1","1.3","1.4","1.4.1","1.4.2","1.4.3","1.5","1.6","1.6.1","1.6.2","1.6.3","1.7","1.7.1","1.7.2","1.8.1","2.0.0","2.0.1","2.0.17","2.0.18","2.0.19","2.0.20","2.0.21","2.0.22","2.0.23","2.0.24","2.0.25","2.0.26","2.0.27","2.0.28","3.0.0","3.0.1","4.0.0","4.0.0b1","4.0.1","4.0.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-fvx8-79hx-x82f/GHSA-fvx8-79hx-x82f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}