Files
CVEs-PoC/2020/CVE-2020-4038.md
T
2024-05-25 21:48:12 +02:00

25 lines
1.5 KiB
Markdown

### [CVE-2020-4038](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-4038)
![](https://img.shields.io/static/v1?label=Product&message=graphql-playground&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](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
GraphQL Playground (graphql-playground-html NPM package) before version 1.6.22 have a severe XSS Reflection attack vulnerability. All unsanitized user input passed into renderPlaygroundPage() method could trigger this vulnerability. This has been patched in graphql-playground-html version 1.6.22. Note that some of the associated dependent middleware packages are also affected including but not limited to graphql-playground-middleware-express before version 1.7.16, graphql-playground-middleware-koa before version 1.6.15, graphql-playground-middleware-lambda before version 1.7.17, and graphql-playground-middleware-hapi before 1.6.13.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/2lambda123/graphql-playground
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/Elsfa7-110/kenzer-templates
- https://github.com/d4n-sec/d4n-sec.github.io
- https://github.com/filippbudko/graphql-playground
- https://github.com/graphql/graphql-playground
- https://github.com/nyshangal/graphql-playground