CVE-2026-4085: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in maltathemes Easy Social Photos Gallery – MIF
The Easy Social Photos Gallery plugin for WordPress up to version 3. 1. 2 contains a stored cross-site scripting (XSS) vulnerability in the 'wrapper_class' shortcode attribute of the 'my-instagram-feed' shortcode. This vulnerability arises from improper input sanitization where sanitize_text_field() is used instead of esc_attr(), allowing an attacker with contributor-level access or higher to inject malicious scripts that execute when users view the affected page. The CVSS score is 6. 4, indicating a medium severity vulnerability.
AI Analysis
Technical Summary
CVE-2026-4085 is a stored cross-site scripting vulnerability in the Easy Social Photos Gallery WordPress plugin (up to version 3.1.2). The issue is due to the plugin using sanitize_text_field() rather than 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 with contributor-level privileges can break out of the class attribute context and inject arbitrary HTML event handlers or scripts. This results in script execution in the context of users visiting the injected page.
Potential Impact
An authenticated attacker with contributor-level access or higher can exploit this vulnerability to inject arbitrary web scripts into pages. These scripts execute in the context of users who view the compromised pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not impact availability but affects confidentiality and integrity to a limited extent. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the Easy Social Photos Gallery plugin if possible. Monitor for vendor updates regarding a patch or official remediation.
CVE-2026-4085: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in maltathemes Easy Social Photos Gallery – MIF
Description
The Easy Social Photos Gallery plugin for WordPress up to version 3. 1. 2 contains a stored cross-site scripting (XSS) vulnerability in the 'wrapper_class' shortcode attribute of the 'my-instagram-feed' shortcode. This vulnerability arises from improper input sanitization where sanitize_text_field() is used instead of esc_attr(), allowing an attacker with contributor-level access or higher to inject malicious scripts that execute when users view the affected page. The CVSS score is 6. 4, indicating a medium severity vulnerability.
CVSS v3.1
Score 6.4medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-4085 is a stored cross-site scripting vulnerability in the Easy Social Photos Gallery WordPress plugin (up to version 3.1.2). The issue is due to the plugin using sanitize_text_field() rather than 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 with contributor-level privileges can break out of the class attribute context and inject arbitrary HTML event handlers or scripts. This results in script execution in the context of users visiting the injected page.
Potential Impact
An authenticated attacker with contributor-level access or higher can exploit this vulnerability to inject arbitrary web scripts into pages. These scripts execute in the context of users who view the compromised pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not impact availability but affects confidentiality and integrity to a limited extent. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the Easy Social Photos Gallery plugin if possible. Monitor for vendor updates regarding a patch or official remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-12T20:51:56.076Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8876c19fe3cd2cd808ce9
Added to database: 4/22/2026, 8:31:40 AM
Last enriched: 4/29/2026, 11:09:55 AM
Last updated: 6/6/2026, 11:01:32 PM
Views: 45
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.