CVE-2026-4085
Last modified
CVE-2026-4085 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. The Easy Social Photos Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wrapper_class' shortcode attribute of the 'my-instagram-feed' shortcode in all versions up to, and including, 3.1.2. This is due to insufficient input sanitization and output escaping on user supplied attributes. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
Description
The Easy Social Photos Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wrapper_class' shortcode attribute of the 'my-instagram-feed' shortcode in all versions up to, and including, 3.1.2. This is due to insufficient input sanitization and output escaping on user supplied attributes. Specifically, the plugin uses sanitize_text_field() instead of esc_attr() when outputting the 'wrapper_class' attribute inside a double-quoted HTML class attribute. Since sanitize_text_field() does not encode double quotes, an attacker can break out of the class attribute and inject arbitrary HTML event handlers. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-4085?
How severe is CVE-2026-4085?
How do I fix CVE-2026-4085?
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-40844An low privileged remote attacker can exploit an unauthentic…7.1
- CVE-2026-40845An low privileged remote attacker can exploit an unauthentic…7.1
- CVE-2026-40846An low privileged remote attacker can exploit an unauthentic…7.1
- CVE-2026-40847An low privileged remote attacker can exploit an unauthentic…7.1
- CVE-2026-40848An low privileged remote attacker can exploit an unauthentic…7.1
- CVE-2026-40849An low privileged remote attacker can exploit an unauthentic…7.1
- CVE-2026-40850An unauthenticated remote attacker can exploit an unauthenti…8.7
- CVE-2026-40851A local attacker can perform a confusion attack on the cfgpa…8.4
- CVE-2026-40852A highly authenticated attacker can alter the config generat…7.2
- CVE-2026-40854WNC T-Mobile 5G Box IDU router contains an authentication by…8.7
- CVE-2026-40855WNC T-Mobile 5G Box IDU router is vulnerable to a command in…9.3
- CVE-2026-40856WNC T-Mobile 5G Box IDU router is vulnerable to improper acc…7.1
Are you affected by CVE-2026-4085?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
