Back to search
CVE-2024-24785
Published: Mar 5, 2024
Modified: Mar 14, 2025
PUBLISHED
Description
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.
| Vendor | Product | Versions |
|---|---|---|
Go standard library | html/template | affected 0 - < 1.21.8affected 1.22.0-0 - < 1.22.1 |
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now