← CVE Intelligence

CVE-2024-24785

Errors returned from JSON marshaling may break template escaping in html/template PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Go standard library / html/templateaffected 0 before 1.21.8; affected 1.22.0-0 before 1.22.1

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.