# CVE-2021-33041: Cross-site Scripting in vmd

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.17%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-17T16:04:23.000Z
- Modified: 2026-06-17T03:54:03.717Z
- Also known as: GHSA-pfr3-87q3-65rc
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- vmd (npm): up to 1.34.0
- vmd_project vmd: up to 1.34.0

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/yoshuawuyts/vmd/issues/137> (exploit, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-33041> (advisory)
- <https://www.npmjs.com/package/vmd> (web)

## Sources

- CVE List: [CVE-2021-33041](https://www.cve.org/CVERecord?id=CVE-2021-33041), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-pfr3-87q3-65rc](https://github.com/advisories/GHSA-pfr3-87q3-65rc), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-33041](https://nvd.nist.gov/vuln/detail/CVE-2021-33041), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-33041 · Whole record: https://cve.day/CVE-2021-33041.json · Rebuilt by cve.day 2026-11-25T22:58:01.446Z
