# CVE-2024-31111: WordPress Core \< 6.5.5 - Cross Site Scripting (XSS) vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-25 · Modified: 2026-04-28
- Aliases: UBUNTU-CVE-2024-31111, DEBIAN-CVE-2024-31111
- Record: https://cvemate.com/vulnerability/CVE-2024-31111 · JSON: https://cvemate.com/vulnerability/CVE-2024-31111/json

## Description

```text
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Automattic WordPress allows Stored XSS.This issue affects WordPress: from 6.5 through 6.5.4, from 6.4 through 6.4.4, from 6.3 through 6.3.4, from 6.2 through 6.2.5, from 6.1 through 6.1.6, from 6.0 through 6.0.8, from 5.9 through 5.9.9.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
- EPSS: 0.34%, percentile 29.366%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- automattic wordpress: ≥ 6.5, ≤ 6.5.4 \| ≥ 6.4, ≤ 6.4.4 \| ≥ 6.3, ≤ 6.3.4 \| ≥ 6.2, ≤ 6.2.5 \| ≥ 6.1, ≤ 6.1.6 \| ≥ 6.0, ≤ 6.0.8 \| ≥ 5.9, ≤ 5.9.9
- debian wordpress (Debian): \< 6.1.9+dfsg1-0+deb12u1 \| \< 6.5.5+dfsg1-1
- ubuntu wordpress (Ubuntu): All versions (No fix recorded)
- wordpress wordpress: ≥ 5.9, ≤ 5.9.9 (fixed in 5.9.10) \| ≥ 6.0, ≤ 6.0.8 (fixed in 5.9.10) \| ≥ 6.1, ≤ 6.1.6 (fixed in 5.9.10) \| ≥ 6.2, ≤ 6.2.5 (fixed in 5.9.10) \| ≥ 6.3, ≤ 6.3.4 (fixed in 5.9.10) \| ≥ 6.4, ≤ 6.4.4 (fixed in 5.9.10) \| ≥ 6.5, ≤ 6.5.4 (fixed in 5.9.10)
- wordpress gutenberg: ≤ 18.6.0 (fixed in 18.6.1)

## References

- <https://patchstack.com/database/vulnerability/wordpress/wordpress-wordpress-core-core-6-5-5-cross-site-scripting-xss-via-template-part-vulnerability?_s_id=cve>
- <https://wordpress.org/news/2024/06/wordpress-6-5-5/>
- <https://ubuntu.com/security/CVE-2024-31111>
- <https://www.cve.org/CVERecord?id=CVE-2024-31111>
- <https://security-tracker.debian.org/tracker/CVE-2024-31111>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/2a225ccb-a7dc-4437-bd97-b309d6ae6a47>

---

Data as of 2026-12-05T05:10:16.562Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
