En bref
- CVE-2024-24785 est une vulnérabilité MOYENNE (CVSS 5.4) touchant stdlib.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 0.80%, plus élevée que 56.4% des vulnérabilités.
- Correctif : mettre à jour vers 1.22.1, 1.21.8 ou plus récent.
| Package | Affected versions | Patched versions |
|---|
| stdlib Go | ≥ 1.22.0-0, < 1.22.1< 1.21.8
| 1.22.11.21.8
|
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.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free