{"id":"GHSA-pfr3-87q3-65rc","summary":"Cross-site Scripting in vmd","details":"vmd through 1.34.0 allows `div class=\"markdown-body\"` XSS, as demonstrated by Electron remote code execution via `require('child_process').execSync('calc.exe')` on Windows and a similar attack on macOS.","aliases":["CVE-2021-33041"],"modified":"2023-11-08T04:06:03.274654Z","published":"2022-02-10T23:46:28Z","database_specific":{"github_reviewed_at":"2021-05-19T17:45:57Z","nvd_published_at":"2021-05-17T17:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33041"},{"type":"WEB","url":"https://github.com/yoshuawuyts/vmd/issues/137"},{"type":"WEB","url":"https://www.npmjs.com/package/vmd"}],"affected":[{"package":{"name":"vmd","ecosystem":"npm","purl":"pkg:npm/vmd"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.34.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-pfr3-87q3-65rc/GHSA-pfr3-87q3-65rc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}