CVE-2024-6307: wordpress foundation wordpress Cross-site Scripting
Vulnerability summary
CVE-2024-6307 is a medium (CVSS 6.4) Cross-site Scripting vulnerability in wordpress foundation wordpress. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 39% of scored vulnerabilities. Fixed in 5.9.10.
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
39%
Versus all other CVEs
30-day change
0.00 pp
From 0.47% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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