CVE-2024-6307 MEDIUM

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

Vendor Wordpress Foundation
Product WordPress
Published June 25, 2024
Last update August 1, 2024

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

WordPress versions 5.9 through 5.9.9 contain a vulnerability that allows authenticated users with low privileges to read sensitive information and modify content across the site. The vulnerability affects multiple components due to scope change, meaning the impact extends beyond a single isolated function. Site administrators should update to a version newer than 5.9.9 immediately.

What an attacker can do

03Attacker Capabilities

Read sensitive data and modify site content with a low-privilege user account.

Potential impact on your site

04Site Impact

Unauthorized users can access private data and alter published content without admin approval.

Conditions required to exploit

05Prerequisites

Attacker must have a valid low-privilege WordPress user account (e.g., subscriber or contributor).

Key dates

06Disclosure timeline

June 25, 2024 CVE published
August 1, 2024 Record updated