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-2017-12882 Vulnerability in maven package org.springframework.batch:spring-batch-admin
CVE-2022-4350 Vulnerability in maven package net.mingsoft:ms-mcms
CVE-2022-22881 Vulnerability in maven package org.jeecgframework.boot:jeecg-boot-base
CVE-2023-27474 Vulnerability in npm package directus
CVE-2017-9791 Vulnerability in maven package org.apache.struts:struts2-struts1-plugin