{"id":"CVE-2024-2319","aliases":["CVE-2024-2319","GHSA-fvx8-79hx-x82f","PYSEC-2026-1299"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting vulnerability in Django MarkdownX","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Vulnerabilidad de Cross-Site Scripting (XSS) en el proyecto Django MarkdownX, que afecta a la versión 4.0.2. Un atacante podría almacenar un payload de JavaScript especialmente manipulado en la funcionalidad de carga debido a la falta de una desinfección adecuada de los elementos de JavaScript.","source":"nvd"}],"published":"2024-03-08T13:08:52.443Z","modified":"2026-07-07T17:57:01.437Z","severity":{"scorer":"INCIBE","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"INCIBE","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","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"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"4.0.2","status":"affected"}],"vendor":"Django MarkdownX","product":"Django MarkdownX","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"4.0.2"}],"ecosystem":"PyPI","package":"django-markdownx","purl":"pkg:pypi/django-markdownx","source":"ghsa"},{"ranges":[{"status":"affected","version":"4.0.2"}],"vendor":"neutronx","product":"markdownx","cpe":"cpe:2.3:a:neutronx:markdownx:4.0.2:*:*:*:*:django:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"4.0.2"}],"ecosystem":"PyPI","package":"django-markdownx","purl":"pkg:pypi/django-markdownx","source":"pysec"}],"references":[{"url":"https://www.incibe.es/en/incibe-cert/notices/aviso/cross-site-scripting-vulnerability-django-markdownx","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2319","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/neutronX/django-markdownx","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/django-markdownx","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-fvx8-79hx-x82f","tags":["advisory"],"sources":["pysec"]}],"credits":["Julián J. Menéndez"],"assigner":"INCIBE","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-08T15:47:46.583Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-2319","url":"https://www.cve.org/CVERecord?id=CVE-2024-2319","licence":"CVE Terms of Use","modified":"2024-08-01T19:11:52.461Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fvx8-79hx-x82f","url":"https://github.com/advisories/GHSA-fvx8-79hx-x82f","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:01.437Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-2319","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2319","licence":"Public domain","modified":"2026-06-17T07:24:18.627Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1299","url":"https://osv.dev/vulnerability/PYSEC-2026-1299","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:34.904Z"}],"updatedAt":"2026-11-25T22:58:37.373Z","epss":{"score":0.00449,"percentile":0.30908,"date":"2026-11-30T12:00:22.000Z"}}