9.8Crítica

CVE-2023-24540Improper handling of JavaScript whitespace in html/template

Go standard library html/template Publicada: (hace 3 años)

Descripción

Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized during execution.

Debilidad (CWE): CWE-74CWE-77

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
Go standard library html/template < 1.19.9, 1.20.0-0 – < 1.20.4

Referencias y parches