cve/2024/CVE-2024-24785.md
2025-09-29 16:08:36 +00:00

20 lines
918 B
Markdown

### [CVE-2024-24785](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24785)
![](https://img.shields.io/static/v1?label=Product&message=html%2Ftemplate&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%201.21.8%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-150%3A%20Improper%20Neutralization%20of%20Escape%2C%20Meta%2C%20or%20Control%20Sequences&color=brighgreen)
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds
- https://github.com/h4ckm1n-dev/report-test
- https://github.com/testing-felickz/docker-scout-demo