{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-27428","id":"CVE-2020-27428","title":"Cross-site Scripting in Scratch-Svg-Renderer","description":"A DOM-based cross-site scripting (XSS) vulnerability in Scratch-Svg-Renderer v0.2.0 allows attackers to execute arbitrary web scripts or HTML via a crafted sb3 file.","descriptionLong":"A DOM-based cross-site scripting (XSS) vulnerability in Scratch-Svg-Renderer v0.2.0 allows attackers to execute arbitrary web scripts or HTML via a crafted sb3 file.","published":"2022-01-05T23:37:45.000Z","updated":"2026-10-20T10:54:19.604450312Z","reserved":"2020-10-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"scratch-svg-renderer","purl":"pkg:npm/scratch-svg-renderer","ranges":["<=0.2.0"],"fixed":[],"advisory":"GHSA-h3vq-wv8j-36gw"}],"cwes":["CWE-79"],"aliases":["GHSA-h3vq-wv8j-36gw"],"references":[{"url":"https://github.com/LLK/scratch-svg-renderer/commit/7c74ec7de3254143ec3c557677f5355a90a3d07f","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27428","tags":["advisory"]},{"url":"https://github.com/LLK/scratch-svg-renderer","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00666,"epssPercentile":0.52563,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-27428","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27428","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-27428","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h3vq-wv8j-36gw","ok":true,"note":"GHSA-h3vq-wv8j-36gw"},{"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-27428","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}