# CVE-2024-6307: WordPress Core \< 6.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via HTML API

- Priority: **Routine**
- Reason: Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-25 · Modified: 2024-08-01
- Aliases: UBUNTU-CVE-2024-6307, DEBIAN-CVE-2024-6307
- Record: https://cvemate.com/vulnerability/CVE-2024-6307 · JSON: https://cvemate.com/vulnerability/CVE-2024-6307/json

## Description

```text
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.
```

## Signals

- CVSS: 6.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- EPSS: 0.467%, percentile 42.104%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian wordpress (Debian): \< 6.1.9+dfsg1-0+deb12u1 \| \< 6.5.5+dfsg1-1
- ubuntu wordpress (Ubuntu): All versions (No fix recorded)
- wordpress foundation 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
- wordpress 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)

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/bc0d36f8-6569-49a1-b722-5cf57c4bb32a?source=cve>
- <https://wordpress.org/news/2024/06/wordpress-6-5-5/>
- <https://core.trac.wordpress.org/changeset/58473>
- <https://core.trac.wordpress.org/changeset/58472>
- <https://ubuntu.com/security/CVE-2024-6307>
- <https://www.cve.org/CVERecord?id=CVE-2024-6307>
- <https://security-tracker.debian.org/tracker/CVE-2024-6307>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/bc0d36f8-6569-49a1-b722-5cf57c4bb32a>

---

Data as of 2026-12-05T04:38:55.611Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
