CVE-2024-6307: WordPress Core < 6.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via HTML API
Vulnerability summary
CVE-2024-6307 is a medium (CVSS 6.4) vulnerability in wordpress foundation wordpress. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 42.1% of scored vulnerabilities. Fixed in 5.9.10.
Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 25-06-2024PublishedVulnerability first disclosed.
- 01-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- NVDNIST6.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- wordfenceSource6.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.47%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.47% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- wordpress< 6.1.9+dfsg1-0+deb12u1 | < 6.5.5+dfsg1-1
Ubuntu1 product
- wordpressAll versions (No fix recorded)
Wordpress1 product
- wordpress≥ 5.9, ≤ 5.9.9 (fixed in 5.9.10) | ≥ 6.0, ≤ 6.0.8 (fixed in 5.9.10) | ≥ 6.1, ≤ 6.1.6 (fixed in 5.9.10) | ≥ 6.2, ≤ 6.2.5 (fixed in 5.9.10) | ≥ 6.3, ≤ 6.3.4 (fixed in 5.9.10) | ≥ 6.4, ≤ 6.4.4 (fixed in 5.9.10) | ≥ 6.5, ≤ 6.5.4 (fixed in 5.9.10)
Wordpress foundation1 product
- wordpress≥ 5.9, ≤ 5.9.9 | ≥ 6.0, ≤ 6.0.8 | ≥ 6.1, ≤ 6.1.6 | ≥ 6.2, ≤ 6.2.5 | ≥ 6.3, ≤ 6.3.4 | ≥ 6.4, ≤ 6.4.4 | ≥ 6.5, ≤ 6.5.4
4 vendors · 4 products