Description
The Snippet Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Shortcode Attributes in all versions up to, and including, 5.2.0 due to insufficient input sanitization and output escaping. 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-08-16
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Snippet Shortcodes plugin for WordPress is vulnerable to a stored XSS flaw because it does not properly sanitize or escape the values supplied in shortcode attributes. This flaw allows an attacker who is authenticated with contributor‑level permissions or higher to inject malicious JavaScript that will execute in the browsers of any user who views the affected page. The impact is the non‑repudiation of arbitrary script execution and the potential for session hijacking, defacement, or downstream data theft. The weakness is identified as CWE‑79.

Affected Systems

Affecting the WordPress plugin "Snippet Shortcodes" produced by aliakro. All released versions up to and including 5.2.0 are vulnerable; any installation running 5.2.0 or earlier is at risk.

Risk and Exploitability

The vulnerability carries a CVSS score of 6.4, indicating a moderate severity. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog, suggesting that widespread exploitation is not yet observed, but the presence of an authenticated attacker with contributor access greatly increases the risk. The likely attack vector is via the plugin’s handling of shortcode attributes during content rendering, and exploitation requires the attacker to have logged‑in access on the target site.

Generated by OpenCVE AI on August 16, 2026 at 06:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Snippet Shortcodes plugin to the latest version (any release newer than 5.2.0).
  • If an upgrade is not immediately possible, remove or replace the plugin with a secure alternative and revoke contributor‑level access until a patch is applied.
  • After patching, audit site content for unintended script injection and validate that all shortcode attributes are properly sanitized.

Generated by OpenCVE AI on August 16, 2026 at 06:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 16 Aug 2026 05:45:00 +0000

Type Values Removed Values Added
Description The Snippet Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Shortcode Attributes in all versions up to, and including, 5.2.0 due to insufficient input sanitization and output escaping. 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 Snippet Shortcodes <= 5.2.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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-16T05:27:28.997Z

Reserved: 2026-07-23T13:51:10.545Z

Link: CVE-2026-16758

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-16T06:16:51.090

Modified: 2026-08-16T06:16:51.090

Link: CVE-2026-16758

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-16T06:30:04Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')