CVE-2026-3352
Last modified
CVE-2026-3352 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. The Easy PHP Settings plugin for WordPress is vulnerable to PHP Code Injection in all versions up to, and including, 1.0.4 via the `update_wp_memory_constants()` method. This is due to insufficient input validation on the `wp_memory_limit` and `wp_max_memory_limit` settings before writing them to `wp-config.php`. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
The Easy PHP Settings plugin for WordPress is vulnerable to PHP Code Injection in all versions up to, and including, 1.0.4 via the `update_wp_memory_constants()` method. This is due to insufficient input validation on the `wp_memory_limit` and `wp_max_memory_limit` settings before writing them to `wp-config.php`. The `sanitize_text_field()` function used for sanitization does not filter single quotes, allowing an attacker to break out of the string context in a PHP `define()` statement. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject and execute arbitrary PHP code on the server by modifying `wp-config.php`, which is loaded on every page request.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-3352?
How severe is CVE-2026-3352?
How do I fix CVE-2026-3352?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-33514Discourse is an open-source discussion platform. In versions…4.3
- CVE-2026-33515Squid is a caching proxy for the Web. Prior to version 7.5, …6.5
- CVE-2026-33516xrdp is an open source RDP server. Versions through 0.10.5 c…9.1
- CVE-2026-33517Mantis Bug Tracker (MantisBT) is an open source issue tracke…6.1
- CVE-2026-33518An incorrect privilege assignment vulnerability exists in Es…7.2
- CVE-2026-33519An incorrect authorization vulnerability exists in Esri Port…9.8
- CVE-2026-33523HTTP response splitting vulnerability in multiple Apache HTT…6.5
- CVE-2026-33524Zserio is a framework for serializing structured data with a…7.5
- CVE-2026-33525Authelia is an open-source authentication and authorization …6.1
- CVE-2026-33526Squid is a caching proxy for the Web. Prior to version 7.5, …7.5
- CVE-2026-33527Parse Server is an open source backend that can be deployed …4.3
- CVE-2026-33528GoDoxy is a reverse proxy and container orchestrator for sel…6.5
Are you affected by CVE-2026-3352?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
