CVE-2026-42502
CVE
Medium
False Positivehtml: XSS via HTML Elements in Foreign Content
This advisory does not affect KrakenD
KrakenD is an API gateway and does not use
golang.org/x/net/html to parse or
render HTML content from user requests. The vulnerable HTML parsing code path is
never invoked during KrakenD operation.Addressed through routine dependency maintenance in CE 2.13.6 and EE 2.13.4.
Component
golang.org/x/net (html)
Disclosed
May 26, 2026
Description
Go’s
golang.org/x/net/html package incorrectly handles standard HTML elements
inside foreign content (MathML and SVG contexts), potentially allowing cross-site
scripting through mis-parsing of element boundaries.