Description
The issue occurs because tagName user input is formatted inside the exec function is executed without any checks.
Remediation
References
https://github.com/418sec/huntr/pull/102
https://github.com/mikaelbr/mversion/commit/b7a8b32600e60759a7ad3921ec4a2750bf173482
https://snyk.io/vuln/SNYK-JS-MVERSION-573174
Related Vulnerabilities
CVE-2021-22964 Vulnerability in npm package fastify-static
CVE-2022-2048 Vulnerability in maven package org.eclipse.jetty.http2:http2-server
CVE-2020-35476 Vulnerability in maven package net.opentsdb:opentsdb
CVE-2023-37913 Vulnerability in maven package org.xwiki.platform:xwiki-platform-office-importer
CVE-2023-40815 Vulnerability in maven package org.opencrx:opencrx-core-models