CVE-2018-20148Wordpress
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Wordpress · Wordpress We alert you by email or Slack (account required).
- Priority
- 76
- CVSS 3.0
- 9.8
- EPSS
- 26.8% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Dec 14, 2018
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-502
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
In WordPress before 4.9.9 and 5.x before 5.0.1, contributors could conduct PHP object injection attacks via crafted metadata in a wp.getMediaItem XMLRPC call. This is caused by mishandling of serialized data at phar:// URLs in the wp_get_attachment_thumb_file function in wp-includes/post.php.
What to do
- Apply the vendor's security update for Wordpress.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| wordpress | wordpress | < 4.9.9 |
| wordpress | wordpress | ≥ 5.0 < 5.0.1 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- blog.secarma.co.uk Exploit Third Party Advisory
- codex.wordpress.org Product Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- wordpress.org Release Notes Vendor Advisory
- wordpress.org Release Notes Vendor Advisory
- wpvulndb.com Vendor Advisory
- www.debian.org Third Party Advisory
- www.zdnet.com Press/Media Coverage Third Party Advisory
- www.zdnet.com Press/Media Coverage Third Party Advisory