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

19 lines
857 B
Markdown

### [CVE-2020-7750](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7750)
![](https://img.shields.io/static/v1?label=Product&message=scratch-svg-renderer&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%200.2.0-prerelease.20201019174008%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-site%20Scripting%20(XSS)&color=brighgreen)
### Description
This affects the package scratch-svg-renderer before 0.2.0-prerelease.20201019174008. The loadString function does not escape SVG properly, which can be used to inject arbitrary elements into the DOM via the _transformMeasurements function.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ossf-cve-benchmark/CVE-2020-7750