Security mailing lists by PureSourceCode

GO-2021-0143

not scored yetwithdrawn / rejected

When a Handler does not explicitly set the Content-Type header,
the net/http/cgi and net/http/fcgi packages default to "text/html",
which can cause a Cross-Site Scripting vulnerability if an attacker
can control any part of the contents of a response.

Published
17 Feb 2022
Last modified
13 May 2022
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go net/http/cgi < 1.14.8; >= 1.15.0, < 1.15.1 1.14.8, 1.15.1
OSV Go net/http/fcgi < 1.14.8; >= 1.15.0, < 1.15.1 1.14.8, 1.15.1

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.