CVE-2026-5748: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in snedled Text Snippets
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.
AI Analysis
Technical Summary
CVE-2026-5748 is a stored cross-site scripting vulnerability in the Text Snippets WordPress plugin (snedled project) affecting all versions up to 0.0.1. The issue stems from improper neutralization of input during web page generation, specifically in the 'ts' shortcode, where user-supplied attributes are not properly sanitized or escaped. Authenticated users with contributor-level permissions or higher can exploit this to inject arbitrary JavaScript that executes in the context of other users viewing the injected pages. The vulnerability has a CVSS 3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and partial impact on confidentiality and integrity without availability impact.
Potential Impact
An attacker with contributor-level or higher privileges can inject malicious scripts into pages via the vulnerable shortcode. These scripts execute in the browsers of users who view the affected pages, potentially leading to theft of session tokens, defacement, or other actions limited by the scope of the injected script. The impact is limited to confidentiality and integrity with no direct availability impact. The vulnerability requires authenticated access, reducing its risk compared to unauthenticated XSS.
Mitigation Recommendations
No official patch or remediation is currently available from the vendor. Users should restrict contributor-level access to trusted individuals and consider disabling or removing the Text Snippets plugin until a fix is released. Monitor the vendor's advisory channels for updates. Since this is a stored XSS vulnerability, avoid using the vulnerable shortcode with untrusted input. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2026-5748: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in snedled Text Snippets
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-5748 is a stored cross-site scripting vulnerability in the Text Snippets WordPress plugin (snedled project) affecting all versions up to 0.0.1. The issue stems from improper neutralization of input during web page generation, specifically in the 'ts' shortcode, where user-supplied attributes are not properly sanitized or escaped. Authenticated users with contributor-level permissions or higher can exploit this to inject arbitrary JavaScript that executes in the context of other users viewing the injected pages. The vulnerability has a CVSS 3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and partial impact on confidentiality and integrity without availability impact.
Potential Impact
An attacker with contributor-level or higher privileges can inject malicious scripts into pages via the vulnerable shortcode. These scripts execute in the browsers of users who view the affected pages, potentially leading to theft of session tokens, defacement, or other actions limited by the scope of the injected script. The impact is limited to confidentiality and integrity with no direct availability impact. The vulnerability requires authenticated access, reducing its risk compared to unauthenticated XSS.
Mitigation Recommendations
No official patch or remediation is currently available from the vendor. Users should restrict contributor-level access to trusted individuals and consider disabling or removing the Text Snippets plugin until a fix is released. Monitor the vendor's advisory channels for updates. Since this is a stored XSS vulnerability, avoid using the vulnerable shortcode with untrusted input. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-04-07T15:09:42.695Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8877219fe3cd2cd8093c4
Added to database: 4/22/2026, 8:31:46 AM
Last enriched: 4/22/2026, 8:47:18 AM
Last updated: 4/23/2026, 1:06:24 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.