tarteaucitron.js allows UI manipulation via unrestricted CSS injection
- Severity:
- Medium
Description
A vulnerability was identified in tarteaucitron.js, where user-controlled inputs for element dimensions (width and height) were not properly validated.
Recommendation
Update the tarteaucitronjs package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.20.1
- Patched version(s): 1.20.1
References
Related Issues
- Predictable results in nanoid generation when given non-integer values - CVE-2024-55565
- tarteaucitron.js vulnerable to DOM Clobbering via document.currentScript - CVE-2025-48939
- OpenList (frontend) allows XSS Attacks in the built-in Markdown Viewer - CVE-2025-50183
- tarteaucitron.js allows url scheme injection via unfiltered inputs - CVE-2025-31476
- Tags:
- npm
- tarteaucitronjs
Anything's wrong? Let us know Last updated on April 07, 2025