{"schemaVersion":3,"id":"CVE-2024-31111","aliases":["UBUNTU-CVE-2024-31111","DEBIAN-CVE-2024-31111"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2024-06-25T12:54:47.977Z","modified":"2026-04-28T16:09:28.063Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","exploitability":5.9,"impact":6.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","exploitability":5.9,"impact":6.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0034,"percentile":0.25912,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0034},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0034,"percentile":0.25912}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0034,"percentile":0.25912}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"automattic","product":"wordpress","name":"WordPress","label":"wordpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.5, ≤ 6.5.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.4, ≤ 6.4.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.3, ≤ 6.3.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.2, ≤ 6.2.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.1, ≤ 6.1.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0, ≤ 6.0.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.9, ≤ 5.9.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/automattic/wordpress"},{"vendor":"debian","product":"wordpress","name":"wordpress","label":"wordpress","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/wordpress","purlType":"deb","versions":[{"text":"< 6.1.9+dfsg1-0+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 6.5.5+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.1.9+dfsg1-0+deb12u1 | < 6.5.5+dfsg1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"wordpress","name":"wordpress","label":"wordpress","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/wordpress","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wordpress","product":"wordpress","name":"WordPress","label":"wordpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.9, ≤ 5.9.9 (fixed in 5.9.10)","noFixRecorded":false,"fixedIn":"5.9.10"},{"text":"≥ 6.0, ≤ 6.0.8 (fixed in 5.9.10)","noFixRecorded":false,"fixedIn":"5.9.10"},{"text":"≥ 6.1, ≤ 6.1.6 (fixed in 5.9.10)","noFixRecorded":false,"fixedIn":"5.9.10"},{"text":"≥ 6.2, ≤ 6.2.5 (fixed in 5.9.10)","noFixRecorded":false,"fixedIn":"5.9.10"},{"text":"≥ 6.3, ≤ 6.3.4 (fixed in 5.9.10)","noFixRecorded":false,"fixedIn":"5.9.10"},{"text":"≥ 6.4, ≤ 6.4.4 (fixed in 5.9.10)","noFixRecorded":false,"fixedIn":"5.9.10"},{"text":"≥ 6.5, ≤ 6.5.4 (fixed in 5.9.10)","noFixRecorded":false,"fixedIn":"5.9.10"}],"versionsText":"≥ 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)","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"wordpress","label":"WordPress","category":"server-app"}},"hubHref":null},{"vendor":"wordpress","product":"gutenberg","name":"Gutenberg","label":"gutenberg","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 18.6.0 (fixed in 18.6.1)","noFixRecorded":false,"fixedIn":"18.6.1"}],"versionsText":"≤ 18.6.0 (fixed in 18.6.1)","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://patchstack.com/database/vulnerability/wordpress/wordpress-wordpress-core-core-6-5-5-cross-site-scripting-xss-via-template-part-vulnerability?_s_id=cve","label":"patchstack.com/database/…","hostname":"patchstack.com","tags":["VDB Entry","REPORT"]},{"url":"https://wordpress.org/news/2024/06/wordpress-6-5-5/","label":"wordpress.org/news/2024/06/wordpress-6-5-5/","hostname":"wordpress.org","tags":["Release Notes","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2024-31111","label":"ubuntu.com/security/CVE-2024-31111","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-31111","label":"www.cve.org/CVERecord?id=CVE-2024-31111","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-31111","label":"security-tracker.debian.org/tracker/CVE-2024-31111","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/2a225ccb-a7dc-4437-bd97-b309d6ae6a47","label":"www.wordfence.com/threat-intel/vulnerabilities/id/2a225ccb-a7dc-4437-bd97-b309d6ae6a47","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4358-1","DSA-6075-1"],"duplicates":["CVE-2024-6305"],"related":[]},"timeline":[{"kind":"published","date":"2024-06-25T12:54:47.977Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-28T16:09:28.063Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T10:29:01.256Z","stale":false,"partial":false}}