WordPress Core < 6.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via HTML API

6.4
Improper Neutralization of Input During Web Page Generation
CVE CVE-2024-6307
CVSS 6.4 (Medium)
Publicly Published June 24, 2024
Last Updated June 28, 2024
Researchers Alex Concha - WordPress Security Team
Dennis Snell - WordPress Core Team
Grzegorz Ziółkowski - WordPress Security Team
Aaron Jorbin

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WordPress

Software Type Core
Patched? Yes
Remediation Update to one of the following versions, or a newer patched version: 5.9.10, 6.0.9, 6.1.7, 6.2.6, 6.3.5, 6.4.5, 6.5.5
Affected Versions
  • 5.9 - 5.9.9
  • 6.0 - 6.0.8
  • 6.1 - 6.1.6
  • 6.2 - 6.2.5
Expand to see 3 more affected version ranges.
  • 6.3 - 6.3.4
  • 6.4 - 6.4.4
  • 6.5 - 6.5.4
Patched Versions
  • 5.9.10
  • 6.0.9
  • 6.1.7
  • 6.2.6
Expand to see 3 more patched versions.
  • 6.3.5
  • 6.4.5
  • 6.5.5

Recent vulnerabilities in WordPress

# Title CVE ID CVSS Researchers Date
1 WordPress Core 6.6.0 - 7.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Unsafe Interactivity API Binding Properties 6.4 Alex Concha, Jon Surrell, rekter0, Marcel Karlsson October 29, 2026
2 WordPress Core 4.7.0 - 7.1.3 - Authenticated (Custom+) Stored Cross-Site Scripting via Externally-Supplied User Login Values 4.9 Anthropic October 29, 2026
3 WordPress Core 6.4.0 - 7.1.3 - Authenticated (Contributor+) Stored Denial of Service via Malformed Interactivity API Bindings 3.5 Jon Surrell October 29, 2026
4 WordPress Core 5.0.0 - 7.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Customizer Selective Refresh 6.4 Rafie Muhammad October 29, 2026
5 WordPress Core 6.4.0 - 7.1.3 - Authenticated (Author+) Stored Cross-Site Scripting via Interactivity Router Uploaded Text Files 6.4 Anas cherni October 29, 2026
6 WordPress Core 5.0.0 - 7.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Non-HTML Whitespace in Block Delimiters 6.4 Rafie Muhammad October 29, 2026
7 WordPress Core 4.9.0 - 7.1.3 - Unauthenticated Sensitive Information Exposure via Customizer Changesets 5.3 Antonio Lorensius Silaban October 29, 2026
8 WordPress Core 5.9.0 - 7.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Navigation Block Labels 6.4 Alex Concha October 29, 2026
9 WordPress Core 6.6.0 - 7.1.3 - Authenticated (Contributor+) Clickjacking via Interactivity API Object Bindings 3.5 rekter0 October 29, 2026
10 WordPress Core 6.6.0 - 7.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Interactivity API URL Bindings 6.4 Luis Herranz October 29, 2026

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation