Skip to main content

Improper Restriction of Rendered UI Layers or Frames in github.com/golang/net

CVE-2026-25681

  • github.com/golang/net
  • golang.org/x/net
Severity Medium
Score 6.1/10

Summary

Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering. All versions prior to v0.55.0 are affected.

  • LOW
  • NETWORK
  • LOW
  • CHANGED
  • REQUIRED
  • NONE
  • LOW
  • NONE

CWE-1021 - Improper Restriction of Rendered UI Layers or Frames

The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain, which can lead to user confusion about which interface the user is interacting with.

Advisory Timeline

  • Published