{"id":"CVE-2024-31211","state":"PUBLISHED","title":"Remote Code Execution in `WP_HTML_Token`","description":"WordPress is an open publishing platform for the Web. Unserialization of instances of the `WP_HTML_Token` class allows for code execution via its `__destruct()` magic method. This issue was fixed in WordPress 6.4.2 on December 6th, 2023. Versions prior to 6.4.0 are not affected.","publishedAt":"2024-04-04T23:00:17.782Z","updatedAt":"2024-08-02T01:46:04.743Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["WordPress wordpress-develop"],"affected":[{"vendor":"WordPress","product":"wordpress-develop","versions":[{"version":">= 6.4.0 < 6.4.2","status":"affected"}]}],"references":["https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653"],"weaknesses":["CWE-502"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/31xxx/CVE-2024-31211.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-31211","state":"PUBLISHED","datePublished":"2024-04-04T23:00:17.782Z","dateUpdated":"2024-08-02T01:46:04.743Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-03-29T14:16:31.900Z"},"containers":{"cna":{"title":"Remote Code Execution in `WP_HTML_Token`","descriptions":[{"lang":"en","value":"WordPress is an open publishing platform for the Web. Unserialization of instances of the `WP_HTML_Token` class allows for code execution via its `__destruct()` magic method. This issue was fixed in WordPress 6.4.2 on December 6th, 2023. Versions prior to 6.4.0 are not affected."}],"affected":[{"vendor":"WordPress","product":"wordpress-develop","versions":[{"version":">= 6.4.0 < 6.4.2","status":"affected"}]}],"references":[{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653","name":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","lang":"en","description":"CWE-502: Deserialization of Untrusted Data","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-04-04T23:00:17.782Z"},"source":{"advisory":"GHSA-m257-q4m5-j653","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-31211","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-04-05T14:00:20.723760Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:36:13.480Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653","name":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T01:46:04.743Z"}}]}}}