6.4Medium

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

WordPress Foundation WordPress Published: (2 years ago)

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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
WordPress Foundation WordPress 5.9 – ≤ 5.9.9, 6.0 – ≤ 6.0.8, 6.1 – ≤ 6.1.6, 6.2 – ≤ 6.2.5, 6.3 – ≤ 6.3.4, 6.4 – ≤ 6.4.4, 6.5 – ≤ 6.5.4

References and patches