CVE-2026-5748
Received Received - Intake
Stored XSS in WordPress Text Snippets Plugin ts Shortcode

Publication date: 2026-04-22

Last updated on: 2026-04-22

Assigner: Wordfence

Description
The Text Snippets plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `ts` shortcode in all versions up to, and including, 0.0.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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-04-22
Last Modified
2026-04-22
Generated
2026-05-07
AI Q&A
2026-04-22
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
wordfence text_snippets to 0.0.1 (inc)
wordfence text_snippets_plugin to 0.0.1 (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 Powered Q&A
Can you explain this vulnerability to me?

The Text Snippets plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in its 'ts' shortcode in all versions up to and including 0.0.1. This vulnerability arises because the plugin does not properly sanitize or escape user-supplied attributes. As a result, authenticated users with contributor-level access or higher can inject malicious web scripts into pages. These scripts execute whenever any user accesses the infected page.


How can this vulnerability impact me? :

This vulnerability allows attackers with contributor-level access or above to inject arbitrary scripts into WordPress pages. These scripts can execute in the browsers of users who visit the affected pages, potentially leading to theft of user credentials, session hijacking, defacement, or distribution of malware. Because the vulnerability is stored, the malicious code persists and affects all users who view the compromised content.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart