cve.bz

CVE-2024-24785

5.4 mediumEPSS 0.8%

Medium (5.4). EPSS 0.8% chance of exploitation in the next 30 days. Fixed in stdlib 1.21.8, 1.22.1.

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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS
0.8% chance of exploitation in the next 30 days; higher than 56% of CVEs (scores of 2026-10-31)
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2024-2610Gostdlib<1.21.8
>=1.22.0-0 <1.22.1
1.21.8, 1.22.1

References

Check your stackJSON