Description
headless-browser-lite is a minimal npm installer for phantomjs and slimerjs with no external dependencies. headless-browser-lite downloads binary resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested binary with an attacker controlled binary if the attacker is on the network or positioned in between the user and the remote server.
Remediation
References
https://nodesecurity.io/advisories/230
Related Vulnerabilities
CVE-2022-25895 Vulnerability in npm package lite-dev-server
CVE-2021-41532 Vulnerability in maven package org.apache.ozone:ozone-recon
CVE-2021-29441 Vulnerability in maven package com.alibaba.nacos:nacos-common
CVE-2021-21479 Vulnerability in maven package com.sap.scimono:scimono-server
CVE-2023-40816 Vulnerability in maven package org.opencrx:opencrx-core-models