Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-2319: Cross-Site Scripting (XSS) vulnerability in the Django MarkdownX project, affecting version 4.0.2

27
Routine
MEDIUM 5.4DOWNGRADE

CVE-2024-2319 is a medium-severity flaw (CVSS 5.4) affecting markdownx. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • No elevated risk signals yet

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score5.4 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.4% (top 67%)
CISA exploited listNo
WeaknessCWE-79
Published2024-03-08
Last modified2026-06-17
Publisher (CNA): Spanish National Cybersecurity Institute, S.A. (INCIBE) · Vendor: neutronx

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

neutronx markdownx DOWNGRADE
Affected: 4.0.2
Fixed in: no fixed release known
Safe to downgrade to: a release before 4.0.2
1. Check installed version
apt-cache policy markdownx || rpm -q markdownx || markdownx --version
2. No fixed release: DOWNGRADE to a release before 4.0.2 (Debian / Ubuntu)
apt-cache madison markdownx sudo apt install markdownx=<VERSION_BEFORE_4.0.2> sudo apt-mark hold markdownx
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list markdownx sudo dnf downgrade markdownx-<VERSION_BEFORE_4.0.2> sudo dnf versionlock add markdownx
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-2319?

markdownx: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2024-2319 being exploited?

CVE-2024-2319 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-2319 affect?

CVE-2024-2319 affects markdownx. Severity is medium (CVSS 5.4). 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 e

How urgent is CVE-2024-2319?

Priority 27/100. No elevated risk signals yet.

Software pages

Django vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.