GO-2021-0143

    Dashboard / Vulnerabilities / GO-2021-0143

    GO-2021-0143

    Published: 17 Feb 2022Last Modified: 13 May 2022

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: net/http/cgi

    Purl: pkg:golang/net/http/cgi

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.14.8

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GO-2021-0143 | CVE-DB