PT-2021-20026 · Vmd+1 · Vmd+1
Notaisyo
·
Published
2021-05-17
·
Updated
2022-02-10
·
CVE-2021-33041
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
vmd versions through 1.34.0
Description
The issue 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.
Recommendations
For versions through 1.34.0, update to a version that contains a fix for this issue to prevent XSS and remote code execution attacks.
As a temporary workaround, consider restricting the use of the
require('child process').execSync() function until a patch is available.
Avoid using the div class="markdown-body" element in affected areas until the issue is resolved.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Electron
Vmd