Description
selenium-standalone-painful installs a start-selenium command line to start a standalone selenium server with chrome-driver. selenium-standalone-painful 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 resources with an attacker controlled copy if the attacker is on the network or positioned in between the user and the remote server.
Remediation
References
https://nodesecurity.io/advisories/284
Related Vulnerabilities
CVE-2016-10670 Vulnerability in npm package windows-seleniumjar-mirror
CVE-2022-31129 Vulnerability in maven package org.webjars:momentjs
CVE-2020-5258 Vulnerability in npm package dojo
CVE-2022-25898 Vulnerability in maven package org.webjars.bower:jsrsasign
CVE-2019-16728 Vulnerability in maven package org.webjars.npm:dompurify