Skip to content
OpenAdvisories
Medium · 6.4 CVE-2024-6307 EUVD-2024-47423GHSA-2f47-vffr-pwwf

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

Published Jun 25, 2024 · Updated Aug 1, 2024 · Assigned by Wordfence

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 products

VendorProductAffectedFixed
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 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 wordpress 6.5.5+dfsg1-1 —
Debian 13 wordpress 6.5.5+dfsg1-1 —
Debian 12 wordpress 6.1.9+dfsg1-0+deb12u1 DSA-6075-1
Debian 11 wordpress 5.7.14+dfsg1-0+deb11u1 DLA-4358-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS wordpress No fix yet —
Ubuntu 22.04 LTS wordpress No fix yet —
Ubuntu 20.04 LTS wordpress No fix yet —
Ubuntu 18.04 LTS wordpress No fix yet —
Ubuntu 16.04 LTS wordpress No fix yet —

Advisories 4

References