{"id":"GHSA-h3vq-wv8j-36gw","summary":"Cross-site Scripting in Scratch-Svg-Renderer","details":"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.","aliases":["CVE-2020-27428"],"modified":"2023-11-08T04:03:21.559457Z","published":"2022-01-08T00:44:33Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-01-07T23:45:14Z","nvd_published_at":"2022-01-06T00:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27428"},{"type":"WEB","url":"https://github.com/LLK/scratch-svg-renderer/commit/7c74ec7de3254143ec3c557677f5355a90a3d07f"},{"type":"PACKAGE","url":"https://github.com/LLK/scratch-svg-renderer"}],"affected":[{"package":{"name":"scratch-svg-renderer","ecosystem":"npm","purl":"pkg:npm/scratch-svg-renderer"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.2.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-h3vq-wv8j-36gw/GHSA-h3vq-wv8j-36gw.json"}}],"schema_version":"1.9.0"}