CVE-2023-28447Smarty
Media 6.1 Sin autenticación
Seguir: esta CVE · Smarty · Smarty Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.9% probabilidad de explotación en 30 días · percentil 60
- Requiere autenticación
- No
- Publicada
- 28 mar 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
Smarty is a template engine for PHP. In affected versions smarty did not properly escape javascript code. An attacker could exploit this vulnerability to execute arbitrary JavaScript code in the context of the user's browser session. This may lead to unauthorized access to sensitive user data, manipulation of the web application's behavior, or unauthorized actions performed on behalf of the user. Users are advised to upgrade to either version 3.1.48 or to 4.3.1 to resolve this issue. There are no known workarounds for this vulnerability.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Smarty.
- 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 |
|---|---|---|---|---|
| Packagist | smarty/smarty |
≥ 4.0.0 < 4.3.1 |
4.3.1 |
composer require "smarty/smarty:^4.3.1" |
| Packagist | smarty/smarty |
< 3.1.48 |
3.1.48 |
composer require "smarty/smarty:^3.1.48" |
Según OSV / GitHub Advisories (GHSA-7j98-h7fp-4vwj). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| smarty | smarty | < 3.1.48 |
| smarty | smarty | ≥ 4.0.0 < 4.3.1 |
| fedoraproject | fedora | 36 |
| fedoraproject | fedora | 37 |
| fedoraproject | fedora | 38 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.debian.org