Files
CVEs-PoC/2021/CVE-2021-23784.md
2025-09-29 21:09:30 +02:00

18 lines
740 B
Markdown

### [CVE-2021-23784](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23784)
![](https://img.shields.io/static/v1?label=Product&message=tempura&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=unspecified%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-site%20Scripting%20(XSS)&color=brightgreen)
### Description
This affects the package tempura before 0.4.0. If the input to the esc function is of type object (i.e an array) it is returned without being escaped/sanitized, leading to a potential Cross-Site Scripting vulnerability.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633
#### Github
- https://github.com/dellalibera/dellalibera