The issue occurs because tagName user input is formatted inside the exec function is executed without any checks.
https://snyk.io/vuln/SNYK-JS-MVERSION-573174
https://github.com/mikaelbr/mversion/commit/b7a8b32600e60759a7ad3921ec4a2750bf173482
https://github.com/418sec/huntr/pull/102
Source: Mitre, NVD
Published: 2020-07-01
Updated: 2026-06-17
Base Score: 4.6
Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P
Severity: Medium
Base Score: 7.8
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity: High
EPSS: 0.00191