Skip to content

x/net/html: duplicate attributes can cause XSS #79575

Closed

Description

@thatnealpatel

The HTML parser did not properly handle multiple duplicate attributes, causing
the parser to misparse certain HTML trees. This can cause XSS when rendering
parsed HTML.

Thanks to ensy for reporting this issue.

This is CVE-2026-27136 and Go issue https://go.dev/issue/79575.


This was a PRIVATE track issue, tracked in http://b/482232950.

Activity

  1. added
    NeedsFixThe path to resolution is known, but the work has not been done.
    on May 21, 2026
  2. changed the title [-]security: fix CVE-2026-27136[/-] [+]html: duplicate attributes can cause XSS[/+] on May 22, 2026
  3. changed the title [-]html: duplicate attributes can cause XSS[/-] [+]x/net/html: duplicate attributes can cause XSS[/+] on May 22, 2026
  4. added this to the Unreleased milestone on May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.Securityrelease-blocker

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions