Issue Task Under Review

#111388Update htmlnano to v3.5 (GHSA-jh9m-x59h-4746)

Benjamin Franzke 11/09/26, 17:51 updated 11/09/26, 18:02

Description

htmlnano < 3.4.1 is affected by GHSA-jh9m-x59h-4746: JSON script minification decodes `\u003C` escapes and allows payloads to break out of the script element.

https://github.com/maltsev/htmlnano/security/advisories/GHSA-jh9m-x59h-4746

The advisory has been published by the maintainers on 2026-09-03, but it has not been reviewed for the GitHub advisory database yet and is therefore not reported by `npm audit`.

htmlnano is used as dev dependency (via litnano) to minify lit templates during the build. It should be updated to 3.5 for now, the update to 3.6 requires template adaptions due to the fixed whitespace handling around custom elements (https://github.com/maltsev/htmlnano/releases/tag/3.6.0)

Reviews 3

History 04

  1. Gerrit Code Review pushed patch set 1 for main to change 97458 status In Progress Under Review <span data-processor="relativetime" data-value="2026-11-09T17:55:51+00:00" > 11/09/26, 17:55 </span>