CVE-2026-5340 — Cross-Site Scripting (XSS)
CVE-2026-5340 — 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
What This Means For You
- If your environment is affected by CWE-79, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-5340 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
WordPress Fancy Image Show Stored XSS via Shortcode — CVE-2026-5340
title: WordPress Fancy Image Show Stored XSS via Shortcode — CVE-2026-5340
id: scw-2026-05-12-ai-1
status: experimental
level: medium
description: |
Detects attempts to exploit CVE-2026-5340 in the Fancy Image Show WordPress plugin. This rule looks for requests to the plugin's directory containing the 'fancy-img-show' shortcode and common XSS payload patterns within the URI query. This indicates a potential stored XSS attack where an attacker with contributor-level access injects scripts into pages.
author: SCW Feed Engine (AI-generated)
date: 2026-05-12
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-5340/
tags:
- attack.initial_access
- attack.t1190
logsource:
category: webserver
detection:
selection:
cs-uri|contains:
- '/wp-content/plugins/fancy-img-show/'
cs-uri-query|contains:
- 'fancy-img-show'
cs-uri-query|contains:
- '" onmouseover="alert('CVE-2026-5340')"'
cs-uri-query|contains:
- '" onclick="alert('CVE-2026-5340')"'
condition: selection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-5340 | vulnerability | CVE-2026-5340 |
| CWE-79 | weakness | CWE-79 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | May 12, 2026 at 12:16 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.