logo

CVE-2024-24785 stdlib

Package

Manager: go
Name: stdlib
Vulnerable Version: >=0 <1.21.8

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N/E:H/RL:U/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

EPSS: 0.00246 pctl0.47781

Details

Errors returned from JSON marshaling may break template escaping in html/template 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.

Metadata

Created: 2024-03-05T22:15:40Z
Modified: 2024-10-22T05:29:02.767625Z
Source: https://osv-vulnerabilities
CWE IDs: N/A
Alternative ID: N/A
Finding: F425
Auto approve: 1