{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-7750","id":"CVE-2020-7750","title":"Cross-site Scripting (XSS)","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.","descriptionLong":"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.","published":"2020-10-21T16:20:12.796Z","updated":"2026-10-20T10:54:23.991744735Z","reserved":"2020-01-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"snyk"},"metrics":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"snyk"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"snyk.io"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"critical","products":["scratch-svg-renderer"],"affectedProducts":[{"vendor":"n/a","product":"scratch-svg-renderer","defaultStatus":null,"versions":[{"lessThan":"0.2.0-prerelease.20201019174008","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"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"],"advisory":"GHSA-j977-g5vj-j27g"}],"cwes":["CWE-79"],"aliases":["GHSA-j977-g5vj-j27g","SNYK-JS-SCRATCHSVGRENDERER-1020497"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10ade395aee90","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7750","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.06125,"epssPercentile":0.93581,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-7750","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7750","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-7750","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j977-g5vj-j27g","ok":true,"note":"GHSA-j977-g5vj-j27g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-7750","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}