Description
product-monitor is a HTML/JavaScript template for monitoring a product by encouraging product developers to gather all the information about the status of a product, including live monitoring, statistics, endpoints, and test results into one place. product-monitor versions below 2.2.5 download JavaScript resources over HTTP, which leaves the module vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested JavaScript file with an attacker controlled JavaScript file if the attacker is on the network or positioned in between the user and the remote server.
Remediation
References
https://nodesecurity.io/advisories/171
Related Vulnerabilities
CVE-2021-21623 Vulnerability in maven package org.jenkins-ci.plugins:matrix-auth
CVE-2022-24728 Vulnerability in maven package org.webjars.npm:ckeditor4
CVE-2017-7678 Vulnerability in maven package org.apache.spark:spark-core
CVE-2022-41881 Vulnerability in maven package io.netty:netty-codec-haproxy
CVE-2022-36094 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web-templates