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
Affects wordpressSource GCVE Database
Not known to be exploited · CVSS 6.4 Medium.
Data as of 24 Nov 2026, 19:25 UTC
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSwordpresspkg:deb/ubuntu/wordpress?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSwordpresspkg:deb/ubuntu/wordpress?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSwordpresspkg:deb/ubuntu/wordpress?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSwordpresspkg:deb/ubuntu/wordpress?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSwordpresspkg:deb/ubuntu/wordpress?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-6307 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-6307 (opens in a new tab)
- wordpress.org/news/2024/06/wordpress-6-5-5/ (opens in a new tab)
- core.trac.wordpress.org/changeset/58473 (opens in a new tab)
- core.trac.wordpress.org/changeset/58472 (opens in a new tab)
- wordfence.com/threat-intel/vulnerabilities/id/bc0d36f8-6569-49a1-b722-5cf57c4bb32a?source=cve (opens in a new tab)