PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-39823 Go standard library CVE debrief

A vulnerability in the Go standard library's html/template package allows for a bypass of meta content URL escaping, leading to a potential XSS vulnerability. The issue arises when URLs are not correctly escaped inside of a <meta> tag's <content> attribute, particularly if the URL content inserts ASCII whitespaces around the '=' rune. This CVE was initially addressed as part of CVE-2026-27142.

Vendor
Go standard library
Product
stdlib
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-07
Original CVE updated
2026-11-14
Advisory published
2026-05-07
Advisory updated
2026-11-14

Who should care

Defenders responsible for Go applications using the html/template package should assess exposure and prioritize updates, especially for applications handling user-inputted data within <meta> tags.

Why it matters

CVE-2026-39823 is a vulnerability in the Go standard library's html/template package that could lead to XSS. Defenders should prioritize reviewing and updating affected applications, especially those handling user-inputted data.

  • Potential for XSS vulnerabilities in Go applications
  • Need for review and update of affected Go applications
  • Importance of validating user input handling within <meta> tags

Technical summary

The Go standard library's html/template package has a vulnerability that allows for a bypass of meta content URL escaping, potentially leading to XSS. This occurs when URLs inside <meta> tag content attributes are not properly escaped, especially if they contain ASCII whitespaces around the '=' rune. The issue arises when URLs are not correctly escaped inside of a <meta> tag's <content> attribute, particularly if the URL content inserts ASCII whitespaces around the '=' rune. Defenders should prioritize reviewing and updating Go applications that utilize the html/template package, especially those handling user-inputted data within <meta> tags.

Defensive priority

Defenders should prioritize reviewing and updating Go applications that utilize the html/template package, especially those handling user-inputted data within <meta> tags.

Recommended defensive actions

  • Review and update Go applications using the html/template package
  • Validate user input handling within <meta> tags
  • Assess exposure for applications using affected versions
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The vulnerability details are based on the source item from osv_dev and references from the Go project. The CVE Program and NVD provide additional context. Defenders should verify the affected versions of Go and assess the potential impact on their applications, especially those handling user-inputted data within <meta> tags. Evidence is limited to public sources and may not be comprehensive.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-39823 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-39823

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-39823 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-39823

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.