Skip to content
Permalink
Browse files Browse the repository at this point in the history
fix: prototype vulnerability in socket.io onMessage
  • Loading branch information
barisusakli committed Nov 28, 2022
1 parent 0e495f9 commit 48d1439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/socket.io/index.js
Expand Up @@ -13,7 +13,7 @@ const logger = require('../logger');
const plugins = require('../plugins');
const ratelimit = require('../middleware/ratelimit');

const Namespaces = {};

This comment has been minimized.

Copy link
@depomagelme

depomagelme Dec 9, 2022

😡😡

const Namespaces = Object.create(null);

const Sockets = module.exports;

Expand Down

0 comments on commit 48d1439

Please sign in to comment.