Vulnerabilities / CVE-2018-20148

critical

CVE-2018-20148

In WordPress before 4.9.9 and 5.x before 5.0.1, contributors could con ...

Published Modified CWE 502
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 11wordpress5.0.1+dfsg1-1
debian 12wordpress5.0.1+dfsg1-1
debian 13wordpress5.0.1+dfsg1-1
debian 14wordpress5.0.1+dfsg1-1
debian 8wordpress4.1.25+dfsg-1+deb8u1
debian 9wordpress4.7.5+dfsg-2+deb9u5
echowordpress5.0.1+dfsg1-1
ubuntu 18.04-ESMwordpressno fix listed

References

All 11 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.