Stored Cross-Site Scripting Vulnerability in Easy Social Photos Gallery Plugin for WordPress
CVE-2026-4085

6.4MEDIUM

Key Information:

Vendor

WordPress

Vendor
CVE Published:
22 April 2026

What is CVE-2026-4085?

The Easy Social Photos Gallery plugin for WordPress contains a vulnerability that allows for stored cross-site scripting (XSS) through the 'wrapper_class' shortcode attribute of the 'my-instagram-feed' shortcode. This issue arises from inadequate input sanitization and output escaping, utilizing sanitize_text_field() instead of the more secure esc_attr() when rendering the 'wrapper_class' attribute. Consequently, the lack of proper encoding enables authenticated attackers with contributor-level access or higher to inject arbitrary HTML event handlers. Any web scripts introduced via this method will execute whenever a user accesses a page containing the injected content, posing a significant threat to website security.

Affected Version(s)

Easy Social Photos Gallery – MIF 0 <= 3.1.2

References

CVSS V3.1

Score:
6.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Muhammad Yudha - DJ
.