VYPR

html/template

by Go

golang: html/template

CVEs (2)

  • CVE-2023-39319MedSep 8, 2023
    risk 0.40cvss 6.1epss 0.01

    The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to…

  • CVE-2024-24785MedMar 5, 2024
    risk 0.28cvss 5.4epss 0.01

    If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.