CVE-2026-5748
Stored XSS in WordPress Text Snippets Plugin ts Shortcode
Publication date: 2026-04-22
Last updated on: 2026-04-22
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| 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 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.