Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-4085: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in maltathemes Easy Social Photos Gallery – MIF

0
Medium
VulnerabilityCVE-2026-4085cvecve-2026-4085cwe-79
Published: Wed Apr 22 2026 (04/22/2026, 07:45:38 UTC)
Source: CVE Database V5
Vendor/Project: maltathemes
Product: Easy Social Photos Gallery – MIF

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 09:01:50 UTC

Technical Analysis

CVE-2026-4085 is a stored cross-site scripting vulnerability in the maltathemes Easy Social Photos Gallery WordPress plugin (up to version 3.1.2). The issue arises from insufficient input sanitization on the 'wrapper_class' shortcode attribute in the 'my-instagram-feed' shortcode. The plugin uses sanitize_text_field() to process this attribute, which does not encode double quotes, enabling an attacker to break out of the HTML class attribute context and inject arbitrary HTML event handlers. This allows authenticated users with contributor-level permissions or higher to inject malicious scripts that execute in the context of any user viewing the compromised page.

Potential Impact

An attacker with contributor-level or higher privileges can exploit this vulnerability to inject and execute arbitrary JavaScript in the context of users visiting the affected pages. This can lead to session hijacking, defacement, or other malicious actions limited to the scope of the injected script. The vulnerability does not affect availability and requires authenticated access, but it compromises confidentiality and integrity of user interactions with the site.

Mitigation Recommendations

No official patch or remediation is currently available for this vulnerability. Users should monitor the vendor's advisory for updates. As a temporary mitigation, restrict contributor-level access and above to trusted users only. Avoid using the vulnerable shortcode attribute until a fix is released. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/22/2026, 9:01:50 AM

Last updated: 4/23/2026, 12:24:38 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses