WordPress: Authenticated (Contributor+) Stored Cross-Site Scripting via HTML API
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
On this page4
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
- 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
- Weakness
- CWE-79 Cross-Site Scripting
- Required access
- Contributor account or higher (per advisory)
- Credit
- Alex Concha, Dennis Snell, Grzegorz Ziółkowski, Aaron Jorbin
- Source
- Wordfence Intelligence
- Affected≤ 6.5.4
- 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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:LPrivileges required- Low
UI:NUser interaction- None
S:CScope- Changed
C:LConfidentiality- Low
I:LIntegrity- Low
A:NAvailability- None
References & provenance
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
Timeline
CVE published
Severity medium, CVSS 6.4
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.
