Description
The BerqWP – Automated All-In-One Page Speed Optimization for Core Web Vitals, Cache, CDN, Images, CSS, and JavaScript plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation via the store_javascript_cache.php file in all versions up to, and including, 2.2.42. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
Problem types
CWE-434 Unrestricted Upload of File with Dangerous Type
Product status
Any version
Timeline
| 2025-07-11: | Vendor Notified |
| 2025-07-31: | Disclosed |
Credits
Michael Mazzolini
References
www.wordfence.com/...-ab83-4f03-998a-ec8eda695161?source=cve
plugins.trac.wordpress.org/...api/store_javascript_cache.php
plugins.trac.wordpress.org/...ro/trunk/api/register_apis.php