# CVE-2024-2319: Cross-Site Scripting vulnerability in Django MarkdownX

- Severity: Medium 5.4 (CVSS:3.1, scored by INCIBE) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 31% of CVEs (2026-11-30)
- Published: 2024-03-08T13:08:52.443Z
- Modified: 2026-07-07T17:57:01.437Z
- Also known as: GHSA-fvx8-79hx-x82f, PYSEC-2026-1299
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: INCIBE

## Description

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.

(As written by CVE List.)

## Affected

- Django MarkdownX Django MarkdownX: 4.0.2
- django-markdownx (PyPI): up to 4.0.2
- neutronx markdownx: 4.0.2

## Every score

- INCIBE: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://www.incibe.es/en/incibe-cert/notices/aviso/cross-site-scripting-vulnerability-django-markdownx> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-2319> (advisory)
- <https://github.com/neutronX/django-markdownx> (package)
- <https://pypi.org/project/django-markdownx> (package)
- <https://github.com/advisories/GHSA-fvx8-79hx-x82f> (advisory)

## Sources

- CVE List: [CVE-2024-2319](https://www.cve.org/CVERecord?id=CVE-2024-2319), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-fvx8-79hx-x82f](https://github.com/advisories/GHSA-fvx8-79hx-x82f), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-2319](https://nvd.nist.gov/vuln/detail/CVE-2024-2319), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1299](https://osv.dev/vulnerability/PYSEC-2026-1299), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-2319 · Whole record: https://cve.day/CVE-2024-2319.json · Rebuilt by cve.day 2026-11-25T22:58:37.373Z
