Home / Automattic / WordPress / CVE-2024-31111
CVE-2024-31111: is it exploited, and which versions of Automattic WordPress are affected and fixed?
CVE-2024-31111 is a cross-site scripting (XSS) vulnerability in Automattic WordPress. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: WordPress from 6.5 through 6.5.4, WordPress from 6.4 through 6.4.4, WordPress from 6.3 through 6.3.4 and 4 more (CVE record by Patchstack). Fixed in 6.5.5, 6.4.5, 6.3.5, 6.2.6 and 2 more (CVE record by Patchstack). Severity: Medium (6.5, CVSS 3.1, from Patchstack).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:28 UTC.
What is CVE-2024-31111?
WordPress Core < 6.5.5 - Cross Site Scripting (XSS) vulnerability
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.
From the CVE record by Patchstack, last updated April 28, 2026, 16:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Automattic | 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 | 6.5.5, 6.4.5, 6.3.5, 6.2.6, 6.1.7, 6.0.9, 5.9.10 |
As the CVE record by Patchstack states it, last updated April 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2024-31111?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L | Patchstack |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-31111 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 25, 2024)
- EPSS
- 0.34% probability of exploitation activity in the next 30 days, percentile 29.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
How do I fix it? (from the CVE record)
Update to safe (6.5.5, 6.4.5, 6.3.5, 6.2.6, 6.1.7, 6.0.9, 5.9.10) or higher version.
Where are the vendor advisories and 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 vdb-entry
- https://wordpress.org/news/2024/06/wordpress-6-5-5/ release-notes
Who found and reported it?
- Rafie Muhammad (Patchstack) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 28, 2024
- Published
- June 25, 2024, 12:54 UTC
- CVE record updated
- April 28, 2026, 16:09 UTC by Patchstack
- NVD
- Deferred, last modified June 17, 2026, 07:27 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect WordPress?
- Oct 6, 2026CVE-2026-66666 Automattic WordPress: information disclosure in sent data
- Sep 18, 2026CVE-2026-93485 Automattic WordPress: cross-site scripting (XSS)
- Jun 25, 2024CVE-2024-32111 Automattic WordPress: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2024-31111
Is CVE-2024-31111 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Automattic WordPress are affected by CVE-2024-31111?
WordPress from 6.5 through 6.5.4, WordPress from 6.4 through 6.4.4, WordPress from 6.3 through 6.3.4, WordPress from 6.2 through 6.2.5, WordPress from 6.1 through 6.1.6, WordPress from 6.0 through 6.0.8 and 1 more, per the CVE record by Patchstack. The tables above give every range the sources list.
Which version fixes CVE-2024-31111?
6.5.5, 6.4.5, 6.3.5, 6.2.6, 6.1.7 and 6.0.9, per the CVE record by Patchstack. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-31111?
Medium (6.5, CVSS 3.1, from Patchstack). The severity table above shows each score with its source.
Where is the official record of CVE-2024-31111?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.