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

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 55% of CVEs (2026-11-30)
- Published: 2024-06-25T11:09:23.005Z
- Modified: 2026-06-17T08:17:44.900Z
- Also known as: BIT-WORDPRESS-2024-6307, BIT-WORDPRESS-MULTISITE-2024-6307
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- WordPress Foundation WordPress: from 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.4
- 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.5
- 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.5

## Every score

- Wordfence: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/bc0d36f8-6569-49a1-b722-5cf57c4bb32a?source=cve> (web)
- <https://wordpress.org/news/2024/06/wordpress-6-5-5/> (web)
- <https://core.trac.wordpress.org/changeset/58473> (web)
- <https://core.trac.wordpress.org/changeset/58472> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6307> (web)

## Sources

- CVE List: [CVE-2024-6307](https://www.cve.org/CVERecord?id=CVE-2024-6307), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-6307](https://nvd.nist.gov/vuln/detail/CVE-2024-6307), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-WORDPRESS-2024-6307](https://osv.dev/vulnerability/BIT-WORDPRESS-2024-6307), Apache-2.0, modified 2025-05-20
- Bitnami Vulnerability Database: [BIT-WORDPRESS-MULTISITE-2024-6307](https://osv.dev/vulnerability/BIT-WORDPRESS-MULTISITE-2024-6307), Apache-2.0, modified 2025-05-20

---

Page: https://cve.day/CVE-2024-6307 · Whole record: https://cve.day/CVE-2024-6307.json · Rebuilt by cve.day 2026-11-25T22:58:42.207Z
