Kurz gesagt
- CVE-2024-24785 ist eine Schwachstelle (MITTEL (CVSS 5.4)) in stdlib.
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 0.80%, höher als bei 56.4% aller Schwachstellen.
- Abhilfe: auf 1.22.1, 1.21.8 oder neuer aktualisieren.
| 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