Todas las CVE / Striptags Project
CVE-2021-32696Striptags Project Striptags
Media 5.3 Sin autenticación
Seguir: esta CVE · Striptags Project · Striptags Project Striptags Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.1% probabilidad de explotación en 30 días · percentil 65
- Requiere autenticación
- No
- Publicada
- 18 jun 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Qué pasa
The npm package "striptags" is an implementation of PHP's strip_tags in Typescript. In striptags before version 3.2.0, a type-confusion vulnerability can cause `striptags` to concatenate unsanitized strings when an array-like object is passed in as the `html` parameter. This can be abused by an attacker who can control the shape of their input, e.g. if query parameters are passed directly into the function. This can lead to a XSS.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Striptags.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | striptags |
< 3.2.0 |
3.2.0 |
npm install striptags@3.2.0 |
Según OSV / GitHub Advisories (GHSA-qxg5-2qff-p49r). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| striptags_project | striptags | < 3.2.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- www.npmjs.com Product Third Party Advisory