Radar sectionsDatabase
Check my site
WordPress wordpress core

WordPress: Authenticated (Contributor+) Stored Cross-Site Scripting via HTML API

CVE-2024-6307Published · updated Wordfence advisory

Action summary

Affected ≤6.5.4Update to 5.9.10 or 6.0.9 or 6.1.7 or 6.2.6 or 6.3.5 or 6.4.5 or 6.5.5 or newer

Fixed versions are per release branch: update to the fix for the branch you run.

All remediation steps
Severity
Medium6.4CVSS 3.1
Access
Contributor account or higher (per advisory)
Exploitation
Not in CISA KEVEPSS n/a
VulnCrest
Database record

Summary

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.

Source description from Wordfence Intelligence. VulnCrest has not written an analysis for this CVE.

Not sure which version you run? Run a passive check. It reads public files only.

What to do

  1. 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

Record details

Advisory ID
CVE-2024-6307
Advisory title
WordPress Core < 6.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via HTML API
Product
WordPress wordpress
Affected
≤6.5.4
Fixed in
5.9.10, 6.0.9, 6.1.7, 6.2.6, 6.3.5, 6.4.5, 6.5.5
Required access
Contributor account or higher (per advisory)
Credit
Alex Concha, Dennis Snell, Grzegorz Ziółkowski, Aaron Jorbin
  1. Affected≤ 6.5.4
  2. Patched in5.9.10 / 6.0.9 / 6.1.7 / 6.2.6 / 6.3.5 / 6.4.5 / 6.5.5

Update to 5.9.10 / 6.0.9 / 6.1.7 / 6.2.6 / 6.3.5 / 6.4.5 / 6.5.5 or newer.

6.4
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
What does this vector mean?
AV:N Attack vector
Network
AC:L Attack complexity
Low
PR:L Privileges required
Low
UI:N User interaction
None
S:C Scope
Changed
C:L Confidentiality
Low
I:L Integrity
Low
A:N Availability
None

References & provenance

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

Timeline

  1. CVE published

    Severity medium, CVSS 6.4

  2. Record last updated

Sources & licenses

Sources & licenses

Wordfence record
Vulnerability data
Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
CVE® identifiers
Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
CVSS / CWE
National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
VulnCrest content
Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.

How we use these sources

Search VulnCrest Radar

Are you sure?