CVEfocus › CVE database › CVE-2024-6307

CVE-2024-6307WordPress Core < 6.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via…

CVSS 6.4 MediumEPSS 0.8% (higher than 55% of CVEs)Published 2024-06-25Updated 2024-08-01Assigner: Wordfence

WordPress Core is vulnerable to Stored Cross-Site Scripting via the HTML API in various versions prior to 6.5.5 due to insufficient input sanitization and output escaping on URLs. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
3Fix pending
2Under investigation
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04wordpressNot affected
vulnerable_code_not_present
Ubuntu 25.10wordpressNot affected
vulnerable_code_not_present
Ubuntu 24.04wordpressUnder investigationUBUNTU-CVE-2024-6307
Ubuntu 22.04wordpressUnder investigationUBUNTU-CVE-2024-6307
Ubuntu 20.04wordpressFix pendingUBUNTU-CVE-2024-6307
Ubuntu 18.04wordpressFix pendingUBUNTU-CVE-2024-6307
Ubuntu 16.04wordpressFix pendingUBUNTU-CVE-2024-6307
Debian 14wordpressFixed6.5.5+dfsg1-1DEBIAN-CVE-2024-6307
Debian 13wordpressFixed6.5.5+dfsg1-1DEBIAN-CVE-2024-6307
Debian 12wordpressFixed6.1.9+dfsg1-0+deb12u1DEBIAN-CVE-2024-6307

What the vendor says

As published in the CVE record by Wordfence, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.