CVE-2024-6307
JSON

6.4medium

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

Severity
6.4medium CVSS:3.1 by Wordfence
Exploit likelihood
0.83% (higher than 55% of CVEs)
Published
Last changed
Assigned by
Wordfence
Also known as
BIT-WORDPRESS-2024-6307BIT-WORDPRESS-MULTISITE-2024-6307

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

Product or packageVersionsReported by
WordPress Foundation WordPressfrom 5.9 up to 5.9.9, from 6.0 up to 6.0.8, from 6.1 up to 6.1.6, from 6.2 up to 6.2.5, from 6.3 up to 6.3.4, from 6.4 up to 6.4.4, from 6.5 up to 6.5.4CVE List
wordpress (Bitnami)from 5.9.0 before 5.9.10, from 6.0.0 before 6.0.9, from 6.1.0 before 6.1.7, from 6.2.0 before 6.2.5, from 6.3.0 before 6.3.5, from 6.4.0 before 6.4.5, from 6.5.0 before 6.5.5Bitnami Vulnerability Database
wordpress-multisite (Bitnami)from 5.9.0 before 5.9.10, from 6.0.0 before 6.0.9, from 6.1.0 before 6.1.7, from 6.2.0 before 6.2.5, from 6.3.0 before 6.3.5, from 6.4.0 before 6.4.5, from 6.5.0 before 6.5.5Bitnami Vulnerability Database

All scores

Wordfence6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

WordPress Core es vulnerable a Cross-Site Scripting Almacenado a través de la API HTML en varias versiones hasta la 6.5.5 debido a una sanitización de entrada insuficiente y a un escape de salida en las URL. Esto hace posible que atacantes autenticados, con acceso de nivel de colaborador y superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-6307 changed 2024-08-01CVE Terms of Use
NVDCVE-2024-6307 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-WORDPRESS-2024-6307 changed 2025-05-20Apache-2.0
Bitnami Vulnerability DatabaseBIT-WORDPRESS-MULTISITE-2024-6307 changed 2025-05-20Apache-2.0