Intel

AIKIDO-2026-11038

golang.org/x/net is vulnerable to Improper Input Validation

Improper Input ValidationCVE-2026-42502 Published Yesterday

61

Medium Risk

This Affects:

GOgolang.org/x/net
0.0.0 - 0.54.0
Fixed in 0.55.0
Are you affected? Scan for Free

TL;DR

The HTML parser mishandled certain HTML elements in foreign content, causing them to be incorrectly rendered. This can lead to XSS when rendering parsed HTML.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and if you use the golang.org/x/net/html functionalities.

Background info

golang.org/x/net is vulnerable to Improper Input Validation in versions 0.0.0 - 0.54.0.

How to fix this

Upgrade the golang.org/x/net library to the patch version.