Skip to main content

ER Swiffy Insert EUVDEUVD-2026-24648

| CVE-2026-4082 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-22 Wordfence GHSA-f7h9-vgfr-v594
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Gain contributor account
  2. Delivery
    Create or edit post/page
  3. Exploit
    Insert [swiffy] shortcode with malicious attributes
  4. Install
    Inject JavaScript payload into attribute value
  5. C2
    Publish content
  6. Execute
    Visitor accesses page
  7. Impact
    Malicious script executes in visitor browser context

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 an authenticated WordPress user account with Contributor role or higher (Contributor, Author, Editor, or Administrator). The attacker must be able to create or edit posts/pages containing shortcodes, which is the default capability for Contributor and above roles. The [swiffy] shortcode must be registered and active in the plugin. Sites without contributor-level users other than administrators, or sites that have disabled the plugin, are not vulnerable. The vulnerability is present in default installations and does not require non-standard WordPress configuration, though access controls limiting who can create content directly reduce practical risk.

Impact

The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C) indicates network-accessible, low-complexity exploitation requiring low privileges (Contributor role) with no user interaction needed, and scope change (affecting other users). The score of 6.4 reflects moderate impact limited to confidentiality and integrity, not availability. However, the real-world risk depends heavily on WordPress deployment context: sites with contributor-level users (authors, editors) face higher risk than tightly controlled sites with only administrator content creation. The stored nature means every visitor to an injected page triggers the XSS, enabling session hijacking, credential theft, or malware distribution. No EPSS score or KEV status was provided, preventing quantitative comparison to other vulnerabilities, but the low privilege requirement and stored persistence significantly elevate practical risk beyond the CVSS base score alone. The AC:L and UI:N factors confirm this is not a difficult exploitation target once an attacker gains contributor access.

Exploit ScenarioDerived

An attacker with WordPress Contributor access (obtained through credential compromise or account creation if allowed) creates or edits a page containing the malicious shortcode [swiffy n='123' w='100' h='100'><img src=x onerror='fetch("/admin")'] with embedded JavaScript. When any visitor accesses the published page, the unsanitized attribute is rendered directly into the HTML, triggering the onerror handler. The attacker can capture session cookies, redirect to a phishing page, or inject a redirector to malicious content.

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 – Apr 22, 2026

Stored cross-site scripting in the ER Swiffy Insert WordPress plugin through version 1.0.0 allows authenticated users with Contributor access or higher to inject arbitrary JavaScript via unsanitized shortcode attributes that are directly interpolated into page output. The vulnerability affects all versions of the plugin and requires only contributor-level privileges to exploit, making it a persistence and privilege-escalation vector on WordPress sites with multiple user accounts.

RemediationAI

Update the ER Swiffy Insert plugin to a patched version when available from the WordPress plugin repository, or disable and remove the plugin if no update is released. Immediate mitigation for site administrators includes restricting Contributor-level access to only trusted users, removing unnecessary Contributor accounts, and auditing existing page content for injected scripts. Implement a Web Application Firewall (WAF) rule to detect and block shortcode attributes containing script tags or event handlers. Monitor user activity logs for unexpected shortcode additions. Review the WordPress security best practices at https://wordpress.org/support/article/hardening-wordpress/. Sites should also enable WordPress plugin auto-updates if possible to receive patched versions automatically once released.

Affected VersionsENISA

ER Swiffy Insert 0 ≤1.0.0

Affected Packages

euvd er_swiffy_insert 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 ER Swiffy Insert plugin uses PHP's extract() function to unpack shortcode attributes ('n', 'w', 'h') directly into variable scope without sanitization. These extracted variables are then interpolated into HTML output via string concatenation without WordPress escaping functions such as esc_attr() or esc_html(). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic stored XSS pattern where untrusted user input is rendered in a security-relevant context without encoding. The vulnerability exists in the shortcode handler, which processes user-supplied content at render time.

Know when Er Swiffy Insert 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 ER Swiffy Insert plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the [swiffy] shortcode in all versions up to and including 1.0.0. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes ('n', 'w', 'h'). These attributes are extracted using extract() and directly interpolated into the HTML output without any escaping such as esc_attr(). 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 99% exploitable
Data Quality
5 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