Skip to content
6.1 Medium

CVE-2026-39826 If a trusted template author were to write a tag containing an empty 'type' attribute or a 'type' attribute with an…

Description

If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.

Affected products and versions

Product Affected versions Fixed in
html/template 1.26 1.26.0-0 → < 1.26.3 1.26.3
html/template 1.25 earliest → < 1.25.10 1.25.10

References

Timeline

  1. Published
  2. Last modified
The 14 CVEs of html/template →
Track this CVE