cve/2023/CVE-2023-39318.md

18 lines
920 B
Markdown
Raw Normal View History

2024-06-07 04:52:01 +00:00
### [CVE-2023-39318](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39318)
![](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.20.8%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%3A%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20('Cross-site%20Scripting')&color=brighgreen)
### Description
The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/testing-felickz/docker-scout-demo