# CVE-2026-5748: Text Snippets <= 0.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'w' Shortcode Attribute

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-04-22T07:45:39.662Z
- Modified: 2026-06-17T10:59:35.607Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- snedled Text Snippets: up to 0.0.1

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/8cc7a0f3-6a58-4e42-9341-aecf55d2ccb1?source=cve>
- <https://plugins.trac.wordpress.org/browser/text-snippet/tags/0.0.1/text-snippet.php#L78>
- <https://plugins.trac.wordpress.org/browser/text-snippet/trunk/text-snippet.php#L78>

## Sources

- CVE List: [CVE-2026-5748](https://www.cve.org/CVERecord?id=CVE-2026-5748), CVE Terms of Use, modified 2026-04-22
- NVD: [CVE-2026-5748](https://nvd.nist.gov/vuln/detail/CVE-2026-5748), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-5748 · Whole record: https://cve.day/CVE-2026-5748.json · Rebuilt by cve.day 2026-11-25T22:59:19.248Z
