---
cve: "CVE-2024-31211"
severity: "MEDIUM"
cvss: 5.5
epss: "2.8%"
vendor: "WordPress"
kev: false
exploited: false
published: "2024-04-04 23:15:16"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-05T22:08:04+02:00"
---

# CVE-2024-31211

> 5.5 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Hoch | good |
| UI Interaktion | Keine | bad |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Gering | warn |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 0730353098a9e36a319695d1f28c122361e4aef7 (Commit)
- ec3f364c491bac22e7479b00074c6b004bdd0592 (Commit)

## Referenzen

- <https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-31211) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
