Approved changes feed: RSS · Atom

cpe:2.3:a:go_standard_library:html/template:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorGo Standard Library (50bc78d3-15d0-59a4-bc22-a964570e0614)
ProductHtml/Template (2e6ae857-762a-5fbd-89cb-c0aba77ec0af)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-39826 vulnerable 2026-06-08 08:01:17.063947 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.
Published: 2026-05-07T19:41:19.138Z
Updated: 2026-05-08T14:05:05.849Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-39823 vulnerable 2026-06-08 08:01:17.060087 Bypass of meta content URL escaping causes XSS in html/template
CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <content> attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of the <content> attribute, the escaper would fail to similarly escape it, leading to XSS.
Published: 2026-05-07T19:41:19.524Z
Updated: 2026-05-08T14:05:55.152Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-32289 vulnerable 2026-06-08 07:57:17.366375 JsBraceDepth Context Tracking Bugs (XSS) in html/template
Context was not properly tracked across template branches for JS template literals, leading to possibly incorrect escaping of content when branches were used. Additionally template actions within JS template literals did not properly track the brace depth, leading to incorrect escaping being applied. These issues could cause actions within JS template literals to be incorrectly or improperly escaped, leading to XSS vulnerabilities.
Published: 2026-04-08T01:06:56.297Z
Updated: 2026-04-13T18:20:46.377Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-27142 vulnerable 2026-06-08 07:53:21.971434 URLs in meta content attribute actions are not escaped in html/template
Actions which insert URLs into the content attribute of HTML meta tags are not escaped. This can allow XSS if the meta tag also has an http-equiv attribute with the value "refresh". A new GODEBUG setting has been added, htmlmetacontenturlescape, which can be used to disable escaping URLs in actions in the meta content attribute which follow "url=" by setting htmlmetacontenturlescape=0.
Published: 2026-03-06T21:28:14.674Z
Updated: 2026-03-16T15:21:14.465Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-24785 vulnerable 2026-06-08 06:29:41.751434 Errors returned from JSON marshaling may break template escaping in html/template
If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.
Published: 2024-03-05T22:22:33.640Z
Updated: 2025-03-14T00:55:26.398Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-39319 vulnerable 2026-06-08 06:09:37.028646 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-39318 vulnerable 2026-06-08 06:09:37.026631 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-29400 vulnerable 2026-06-08 06:02:40.111451 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-24540 vulnerable 2026-06-08 05:56:05.895431 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-24539 vulnerable 2026-06-08 05:56:05.894990 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-24538 vulnerable 2026-06-08 05:56:05.894497 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.