Skip to main content

Fancy Image Show EUVDEUVD-2026-29398

| CVE-2026-5340 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-12 Wordfence GHSA-2v9r-7h3f-vg95
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain contributor account
  2. Delivery
    Create post with malicious shortcode
  3. Exploit
    Admin views post
  4. Execution
    JavaScript executes in admin context
  5. Impact
    Attacker gains elevated privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires authenticated access with contributor-level capabilities or above (WordPress roles: Contributor, Author, Editor, or Administrator). The attacker must be able to create or edit posts or pages containing the vulnerable fancy-img-show shortcode. The shortcode handler must be active (plugin enabled). No special plugin configuration is required-the vulnerability exists in default installations. The injected payload executes when any user (including administrators) accesses the page containing the malicious shortcode. Non-authenticated attackers cannot directly exploit this vulnerability; however, if a contributor account is compromised through social engineering, malware, or credential theft, exploitation becomes trivial. Sites using restrictive role management (contributor role disabled, posting limited to editors/admins only) significantly reduce real-world risk.

Impact

CVSS 6.4 with network vector (AV:N), low complexity (AC:L), and low privilege requirement (PR:L) indicates moderate severity with practical exploitability. However, the attack requires authenticated contributor-level access and does not require user interaction (UI:N), limiting the threat model to internal actors or compromised accounts. The Scope Change (S:C) indicates impact beyond the vulnerable component-injected scripts execute in the security context of any user viewing the page, potentially affecting administrators. EPSS data is not provided, preventing quantitative exploitation probability assessment. KEV status is not listed, suggesting no confirmed active exploitation at time of analysis. The vulnerability is not network-unauthenticated, reducing likelihood of mass exploitation by external threat actors, but poses significant risk if contributor accounts are compromised or if the plugin is used on sites with permissive user roles. Real-world risk depends heavily on deployment context: multi-author sites with untrusted contributors face higher risk than single-author or small-team sites with careful access controls.

Exploit ScenarioDerived

An authenticated attacker with contributor-level access creates or edits a WordPress post containing a fancy-img-show shortcode with a malicious payload: `[fancy-img-show image='test' onclick='fetch("/wp-admin/user-new.php", {method:"POST", body:"..."})']. When an administrator visits the post to review it, the injected JavaScript executes in the admin's browser context, potentially allowing account takeover, privilege escalation, or malware injection without the admin's knowledge. The attack requires only one malicious post; the payload persists and executes every time any user accesses that page.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 12, 2026

Stored Cross-Site Scripting in Fancy Image Show plugin for WordPress up to version 9.1 allows authenticated contributors and above to inject arbitrary JavaScript via the fancy-img-show shortcode due to insufficient input sanitization and output escaping. The injected scripts execute in the context of any user viewing the affected page, affecting site integrity and potentially compromising administrative accounts. No public exploit code or active exploitation has been confirmed at time of analysis.

RemediationAI

The primary remediation is to upgrade Fancy Image Show to a patched version released by the plugin developer. Check the plugin update status in WordPress admin or on the official WordPress plugin repository (plugins.wordpress.org/fancy-image-show) for an available patch. If no patch is immediately available, disable the fancy-img-show shortcode by removing or deactivating the plugin until a fix is released. As a temporary workaround on sites requiring the plugin, restrict contributor-level access to only trusted users and audit existing posts containing the fancy-img-show shortcode for malicious injected code using the WordPress repository browser (plugins.trac.wordpress.org/browser/fancy-image-show/). Enable WordPress security headers including Content-Security-Policy (via security plugins like Wordfence or WP Security) to mitigate XSS impact by preventing inline script execution, though this may affect legitimate plugin functionality and requires testing.

Affected VersionsENISA

Fancy Image Show 0 ≤9.1

Affected Packages

euvd fancy_image_show no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Fancy Image Show WordPress plugin processes user-supplied attributes in the fancy-img-show shortcode handler without proper sanitization before output. The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation), where shortcode attributes are reflected into page HTML without HTML entity encoding or Content Security Policy safeguards. The affected code is in the shortcode handler at line 178 of the main plugin file, where user-controlled parameters are directly concatenated into JavaScript or HTML output. WordPress shortcodes, while intended to accept user input, require explicit escaping functions (such as wp_kses_post(), esc_attr(), or esc_js()) to prevent XSS when attributes originate from post content or user-editable fields. The plugin fails to apply these protections, allowing persistence of malicious payloads in post content accessible to all site visitors.

Know when Fancy Image Show gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Fancy Image Show plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's fancy-img-show shortcode in all versions up to, and including, 9.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy