CVE-2026-16758
Received Received - Intake

Stored XSS in Snippet Shortcodes WordPress Plugin

Vulnerability report for CVE-2026-16758, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-16

Last updated on: 2026-08-16

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-16
Last Modified
2026-08-16
Generated
2026-08-16
AI Q&A
2026-08-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
wordfence snippet_shortcodes to 5.2.0 (inc)
wp_shortcodes snippet_shortcodes to 5.2.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The Snippet Shortcodes plugin for WordPress has a stored Cross-Site Scripting (XSS) vulnerability due to insufficient input sanitization and output escaping in shortcode attributes. This allows authenticated attackers with contributor-level access or higher to inject malicious scripts into pages. These scripts execute when users view the affected pages.

Detection Guidance

Check for the Snippet Shortcodes plugin in WordPress installations with versions up to and including 5.2.0. Inspect pages or posts for unusual scripts in shortcode attributes. Use WordPress admin panel to review plugin versions and active plugins.

Impact Analysis

An attacker could steal user sessions, redirect users to malicious sites, or perform actions on their behalf. Users with contributor-level access or above can exploit this to compromise site visitors. The impact depends on the site's user base and the scripts injected.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR (data protection) and HIPAA (health data privacy). If exploited, it may result in data breaches, triggering compliance violations and potential legal penalties for affected organizations.

Mitigation Strategies

Update the Snippet Shortcodes plugin to the latest version beyond 5.2.0. Remove or disable the plugin if updates are unavailable. Review user roles with contributor access or higher for unauthorized changes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-16758. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart