CVE-2021-21383Requarks Wiki.js
Media 5.4
Seguir: esta CVE · Requarks · Requarks Wiki.js Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 32
- CVSS 3.1
- 5.4
- EPSS
- 1.0% probabilidad de explotación en 30 días · percentil 63
- Requiere autenticación
- Sí
- Publicada
- 18 mar 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Qué pasa
Wiki.js an open-source wiki app built on Node.js. Wiki.js before version 2.5.191 is vulnerable to stored cross-site scripting through mustache expressions in code blocks. This vulnerability exists due to mustache expressions being parsed by Vue during content injection even though it is contained within a `<pre>` element. By creating a crafted wiki page, a malicious Wiki.js user may stage a stored cross-site scripting attack. This allows the attacker to execute malicious JavaScript when the page is viewed by other users. For an example see referenced GitHub Security Advisory. Commit 5ffa189383dd716f12b56b8cae2ba0d075996cf1 fixes this vulnerability by adding the v-pre directive to all `<pre>` tags during the render.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Wiki.js.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| requarks | wiki.js | < 2.5.191 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Exploit Patch Third Party Advisory