#111388Update htmlnano to v3.5 (GHSA-jh9m-x59h-4746)
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
-
Gerrit Code Review pushed patch set 1 for main to change 97458 status
In ProgressUnder Review <span data-processor="relativetime" data-value="2026-11-09T17:55:51+00:00" > 11/09/26, 17:55 </span> -
Gerrit Code Review pushed patch set 2 for main to change 97458 <span data-processor="relativetime" data-value="2026-11-09T18:01:43+00:00" > 11/09/26, 18:01 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97462 <span data-processor="relativetime" data-value="2026-11-09T18:01:56+00:00" > 11/09/26, 18:01 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 97463 <span data-processor="relativetime" data-value="2026-11-09T18:02:02+00:00" > 11/09/26, 18:02 </span>