{"id":"CVE-2024-2319","aliases":["GHSA-fvx8-79hx-x82f","PYSEC-2026-1299"],"title":"Django MarkdownX Cross-Site Scripting (XSS) vulnerability","summary":"Django MarkdownX Cross-Site Scripting (XSS) vulnerability","severity":"medium","cvss":5.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","vendor":"django-markdownx","product":"django-markdownx","ecosystem":"pip","affected":["django-markdownx <= 4.0.2"],"published":"2024-03-08","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-fvx8-79hx-x82f","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2319"},{"url":"https://github.com/neutronX/django-markdownx"},{"url":"https://www.incibe.es/en/incibe-cert/notices/aviso/cross-site-scripting-vulnerability-django-markdownx"}],"tags":["osv","pip"],"epss":0.00389,"epssPercentile":0.32937,"ingestedAt":"2026-07-08T18:25:49.137Z","slug":"CVE-2024-2319","body":"## Overview\n\nCross-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.\n\n## Affected packages\n\n- `django-markdownx <= 4.0.2`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":29.7,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}