FlawAtlas
Search the atlas
CVE-2026-39826 Moderate

Escaper bypass leads to XSS in html/template

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.

Exploit probability 0.4%
Published May 11, 2026
Required by Not available
Last source change May 11, 2026

02 / AFFECTED SOFTWARE

Affected packages

Unknown Unknown

152 explicit affected versions

Go stdlib
Bitnami golang

03 / CONNECTIONS

Connected vulnerabilities

related OPENSUSE-SU-2026:21483-1
related RHSA-2026:22112
related RHSA-2026:22120
related RHSA-2026:22121
related RHSA-2026:49702
related RHSA-2026:49712
related RHSA-2026:57649
related RHSA-2026:61253

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2026-39826

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.

View original source
Open Source Vulnerabilities BIT-golang-2026-39826

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.

View original source
Open Source Vulnerabilities GO-2026-4980

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.

View original source

05 / REFERENCES

Further evidence