Lucene search
+L

CVE-2024-24785

🗓️ 05 Mar 2024 22:22:33Reported by GoType 
cve
 cve
🔗 web.nvd.nist.gov👁 407 Views

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. NV

Related
Affected
Refs
ReporterTitlePublishedViews
Family
osv
OSV
CGA-Q9H2-8GHC-VXJ5
6 Jun 202412:29
osv
osv
OSV
CGA-Q9MP-F79C-Q6Q7
30 Oct 202522:05
osv
osv
OSV
CGA-QC8H-WR6R-MJJV
30 Oct 202521:46
osv
osv
OSV
CGA-QCMP-P7GQ-JMF8
30 Oct 202519:21
osv
osv
OSV
CGA-QCWP-F966-PGWF
30 Oct 202522:16
osv
osv
OSV
CGA-QF5V-3W9V-56RJ
30 Oct 202520:15
osv
osv
OSV
CGA-QG87-XCHX-FQQF
30 Oct 202521:44
osv
osv
OSV
CGA-QGG2-8MH4-W8RW
6 Jun 202412:29
osv
osv
OSV
CGA-QGP3-MMPH-CCP4
30 Oct 202520:38
osv
osv
OSV
CGA-QGX2-FQ94-8FJQ
6 Jun 202412:26
osv
Rows per page
[
  {
    "vendor": "Go standard library",
    "product": "html/template",
    "collectionURL": "https://pkg.go.dev",
    "packageName": "html/template",
    "versions": [
      {
        "version": "0",
        "lessThan": "1.21.8",
        "status": "affected",
        "versionType": "semver"
      },
      {
        "version": "1.22.0-0",
        "lessThan": "1.22.1",
        "status": "affected",
        "versionType": "semver"
      }
    ],
    "programRoutines": [
      {
        "name": "jsValEscaper"
      },
      {
        "name": "escaper.commit"
      },
      {
        "name": "Template.Execute"
      },
      {
        "name": "Template.ExecuteTemplate"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Jun 2026 07:14Current
6.1Medium risk
Vulners AI Score6.1
CVSS 3.15.4
EPSS0.00795
SSVC
407