Description
The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to Arbitrary File Write in versions up to and including 1.1.12. This is due to unsafe ZIP file extraction in the ampforwp_save_local_font() function combined with inadequate cleanup that fails to remove nested directories and files. This makes it possible for authenticated attackers, with Author-level access and above, and permissions granted by an Administrator, to write arbitrary files to the server in a web-accessible location, potentially leading to remote code execution on hosts that execute PHP files in the uploads directory.
References10
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tag…
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tag…
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tag…
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tag…
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tru…
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tru…
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tru…
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tru…
- plugins.trac.wordpress.org/changeset/3512870/
- www.wordfence.com/threat-intel/vulnerabilities/id/b594d0e9-d805…
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 64 · as of 15 November 2026
- CWE
- CWE-73
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.