CVE-2024-6307
MEDIUM6.4EPSS 0.64%WordPress Core < 6.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via HTML API
Published: 6/25/2024Modified: 5/27/2026
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.
Affected packages (3)
- Bitnami/wordpress>= 5.9.0, < 5.9.10, >= 6.0.0, < 6.0.9, >= 6.1.0, < 6.1.7, >= 6.2.0, < 6.2.5, >= 6.3.0, < 6.3.5, >= 6.4.0, < 6.4.5, >= 6.5.0, < 6.5.5
- Bitnami/wordpress-multisite>= 5.9.0, < 5.9.10, >= 6.0.0, < 6.0.9, >= 6.1.0, < 6.1.7, >= 6.2.0, < 6.2.5, >= 6.3.0, < 6.3.5, >= 6.4.0, < 6.4.5, >= 6.5.0, < 6.5.5
- Debian/wordpressfrom 0, < 5.7.14+dfsg1-0+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
References (6)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-6307
- WEBhttps://core.trac.wordpress.org/changeset/58472
- WEBhttps://core.trac.wordpress.org/changeset/58473
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-6307
- WEBhttps://wordpress.org/news/2024/06/wordpress-6-5-5/
- WEBhttps://www.wordfence.com/threat-intel/vulnerabilities/id/bc0d36f8-6569-49a1-b722-5cf57c4bb32a?source=cve