{"cve":"CVE-2020-7750","nvd":{"published":"2020-10-21T17:15:13.343","modified":"2026-06-17T03:25:22.763","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6},"cwes":["CWE-79"],"references":["https://github.com/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10ade395aee90","https://snyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497","https://github.com/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10ade395aee90","https://snyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497"],"products":["mit:scratch-svg-renderer"],"source":"nvd","synced_at":"2026-10-19T21:09:53.489947993+00:00"},"epss":{"cve":"CVE-2020-7750","score":0.06125,"percentile":0.93444,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-j977-g5vj-j27g","url":"https://osv.dev/vulnerability/GHSA-j977-g5vj-j27g","summary":"Cross-Site Scripting in scratch-svg-renderer","modified":"2026-09-10T03:48:35.465333541Z","packages":[{"ecosystem":"npm","name":"scratch-svg-renderer","purl":"pkg:npm/scratch-svg-renderer","ranges":["<0.2.0-prerelease.20201019174008"],"fixed":["0.2.0-prerelease.20201019174008"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}