PT-2021-20026
CVE-2021-33041
·
Published
2021-05-17
·
Updated
2022-02-10
Description by
CVSS 3.1
6.1
MediumMetricsAV: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.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾