CVE-2026-55661 TinaCMS rich-text (slatejson) rendering does not sanitize link/image URLs, allowing stored XSS via dangerous URL schemes
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Tina is a headless content management system. In versions prior to @tinacms/mdx 2.1.7 and tinacms 3.9.3, rich-text parsing and the default link/image renderers did not sanitize the url field on Slate link/image nodes. Content containing javascript: or data:text/html URLs — including case-variant, whitespace-padded, and control-character-obfuscated forms — is rendered into href/src and executes when the content is viewed. Any actor able to author rich-text content (for example a lower-privileged editor, or imported/external content) can achieve stored XSS against editors and site viewers. This issue is fixed in versions @tinacms/mdx 2.1.7 and tinacms 3.9.3.
Upgrade path
4 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm tinacms(npm) | < 3.9.3 | 3.9.3 | Fixed |
| tinacms @tinacms/mdx(npm) | < 2.1.7 | 2.1.7 | Fixed |
| tinacms | = < 3.9.3 | No fix listed | Versions listed |
| tinacms @tinacms/mdx | = < 2.1.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tinacms | = < 3.9.3 | No fix listed |
| tinacms @tinacms/mdx | = < 2.1.7 | No fix listed |
| npm tinacms(npm) | < 3.9.3 | 3.9.3 |
| tinacms @tinacms/mdx(npm) | < 2.1.7 | 2.1.7 |