llamaCVEVulnerability Intelligence
/
wagtail

CVE-2021-32681

Improper escaping of HTML ('Cross-site Scripting') in Wagtail StreamField blocks

Parche disponiblecross-site scripting (XSS)
Descargar PNG JSON
CVSS 3.1
5.4
Media
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Fuente: CNA
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche3 versionesPrimer parche el mismo día de la divulgación
Exposición1.981 dDesde la divulgación, 17 jun 2021, 11:25 a. m.
Detección1.978 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 2.11.8 +2
Monitoreo
Detectada
17 jun 21
3 ago 24
17 nov 26
20 nov 26
17 jun 21
26 oct 22
4 mar 24
13 jul 25
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2021-32681 divulgada · CVSS 5.4 (CNA)
Remediación Parche 2.11.8 wagtail · 0 d desde divulgación
Remediación Parche 2.12.5 wagtail · 0 d desde divulgación
Remediación Parche 2.13.2 wagtail · 0 d desde divulgación
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

Wagtail is an open source content management system built on Django. A cross-site scripting vulnerability exists in versions 2.13-2.13.1, versions 2.12-2.12.4, and versions prior to 2.11.8. When the `{% include_block %}` template tag is used to output the value of a plain-text StreamField block (`CharBlock`, `TextBlock` or a similar user-defined block derived from `FieldBlock`), and that block does not specify a template for rendering, the tag output is not properly escaped as HTML. This could allow users to insert arbitrary HTML or scripting. This vulnerability is only exploitable by users with the ability to author StreamField content (i.e. users with 'editor' access to the Wagtail admin). Patched versions have been released as Wagtail 2.11.8 (for the LTS 2.11 branch), Wagtail 2.12.5, and Wagtail 2.13.2 (for the current 2.13 branch). As a workaround, site implementors who are unable to upgrade to a current supported version should audit their use of `{% include_block %}` to ensure it is not used to output `CharBlock` / `TextBlock` values with no associated template. Note that this only applies where `{% include_block %}` is used directly on that block (uses of `include_block` on a block _containing_ a CharBlock / TextBlock, such as a StructBlock, are unaffected). In these cases, the tag can be replaced with Django's `{{ ... }}` syntax - e.g. `{% include_block my_title_block %}` becomes `{{ my_title_block }}`.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
wagtail< 2.11.8
wagtail≥ 2.12 ≤ 2.12.4
wagtail≥ 2.12 < 2.12.5
wagtail≥ 2.13 ≤ 2.13.1
wagtail≥ 2.13 < 2.13.2
2.11.8
2.12
2.12.4
2.12.5
2.13
2.13.1
2.13.2
8.1.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypiwagtail
Corregida 2.11.8, 2.12.5, 2.13.2 0 d · 0 d · 0 d 8.1.0 no afectada
Versiones corregidas2.11.82.12.52.13.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/wagtail/wagtail/security/advisories/GHSA-xfrw-hxr5-ghqf
Otrahttps://github.com/wagtail/wagtail/releases/tag/v2.11.8
Otrahttps://github.com/wagtail/wagtail/releases/tag/v2.12.5
Otrahttps://github.com/wagtail/wagtail/releases/tag/v2.13.2

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.