Description
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.
Published: 2026-04-22
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch
AI Analysis

Impact

The ER Swiffy Insert plugin for WordPress contains a stored XSS flaw triggered by the [swiffy] shortcode. User‑supplied attributes ("n", "w", "h") are extracted with extract() and interpolated directly into the HTML output without escaping, allowing an authenticated contributor or higher user to inject arbitrary JavaScript that will execute whenever a page containing the shortcode is accessed by any visitor.

Affected Systems

The vulnerability affects the ER Swiffy Insert plugin from erithq, all versions up to and including 1.0.0.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity, and the EPSS score is not available, with no listing in the CISA KEV catalog. Exploitation requires a Contributor‑level account or higher; the attacker injects malicious code via the shortcode, which is stored in the database and rendered on any page that includes it, enabling client‑side execution for all visitors.

Generated by OpenCVE AI on April 22, 2026 at 10:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the ER Swiffy Insert plugin to a patched version that sanitizes and escapes shortcode attributes.
  • If an update is not yet available, remove or disable the [swiffy] shortcode from all posts and pages to prevent stored scripts from executing.
  • Limit Contributor‑level access to only users who need shortcode creation capabilities, thereby reducing the available attack surface.

Generated by OpenCVE AI on April 22, 2026 at 10:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 22 Apr 2026 13:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Apr 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Erithq
Erithq er Swiffy Insert
Wordpress
Wordpress wordpress
Vendors & Products Erithq
Erithq er Swiffy Insert
Wordpress
Wordpress wordpress

Wed, 22 Apr 2026 08:30:00 +0000

Type Values Removed Values Added
Description 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.
Title ER Swiffy Insert <= 1.0.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Erithq Er Swiffy Insert
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-22T13:06:19.502Z

Reserved: 2026-03-12T20:46:40.814Z

Link: CVE-2026-4082

cve-icon Vulnrichment

Updated: 2026-04-22T13:06:15.811Z

cve-icon NVD

Status : Deferred

Published: 2026-04-22T09:16:22.273

Modified: 2026-04-22T20:22:50.570

Link: CVE-2026-4082

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T11:44:26Z

Weaknesses