CVE-2026-16758

Snippet Shortcodes <= 5.2.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes

Published Aug 16, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Aliakro
Aliakro snippet Shortcodes
Wordpress
Wordpress wordpress
Vendors & Products Aliakro
Aliakro snippet Shortcodes
Wordpress
Wordpress wordpress
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Aug 17, 2026, 4:05 PM
Reserved
Jul 23, 2026, 1:51 PM
Status
Deferred
Published
Aug 16, 2026, 6:16 AM
Modified
Aug 20, 2026, 12:48 PM