CVE-2026-5340 — Cross-Site Scripting (XSS)

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 formats

3 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.

medium T1190 Initial Access

WordPress Fancy Image Show Stored XSS via Shortcode — CVE-2026-5340

Sigma YAML — free preview
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

✓ Sigma · Splunk SPL Sentinel KQL Elastic QRadar AQL Wazuh Get rules for your SIEM →

Indicators of Compromise

IDTypeIndicator
CVE-2026-5340 vulnerability CVE-2026-5340
CWE-79 weakness CWE-79
Source & Attribution
Source PlatformNVD
ChannelNational Vulnerability Database
PublishedMay 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.

Related coverage

CVE-2026-45218: WP Travel Blind SQL Injection Puts User Data at Risk

CVE-2026-45218 — Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in WP Travel WP Travel wp-travel allows Blind SQL Injection.This...

vulnerabilityCVEhigh-severitysql-injectioncwe-89
/SCW Vulnerability Desk /HIGH /7.7 /⚑ 4 IOCs /⚙ 6 Sigma

CVE-2026-45215 — Saad Iqbal WP EasyPay Wp-Easy-Pay Vulnerability

CVE-2026-45215 — Insertion of Sensitive Information Into Sent Data vulnerability in Saad Iqbal WP EasyPay wp-easy-pay allows Retrieve Embedded Sensitive Data.This issue affects WP EasyPay:...

vulnerabilityCVEmedium-severitycwe-201
/SCW Vulnerability Desk /MEDIUM /5.3 /⚑ 2 IOCs /⚙ 3 Sigma

Xpro Elementor Addons SQL Injection (CVE-2026-45214) Poses High Risk

CVE-2026-45214 — Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Xpro Xpro Elementor Addons xpro-elementor-addons allows Blind SQL Injection.This...

vulnerabilityCVEhigh-severitysql-injectioncwe-89
/SCW Vulnerability Desk /HIGH /8.5 /⚑ 4 IOCs /⚙ 3 Sigma