- ReDoS in
index.vuln.js
line30
const regex1 = RegExp('(x+x+)+y','g');
const str1 = req.body.msg;
let matchedStrings = regex1.exec(str1);
res.end(matchedStrings)
- ReDoS in
index.vuln.js
line39
const regex1 = RegExp(req.body.word,'g');
const str1 = 'table football, foosball';
let matchedStrings = regex1.exec(str1);
res.end(matchedStrings)
- ReDoS in
index.vuln.js
line48
const regex1 = RegExp('(x+x+)+y','g');
const str1 = 'table football, foosball';
let matchedStrings = regex1.exec(str1);
res.end(matchedStrings)
- ReDoS in
index.vuln.ts
line29
const regex1 = RegExp('(x+x+)+y','g');
const str1 = req.body.msg;
let matchedStrings = regex1.exec(str1);
res.end(matchedStrings)
- ReDoS in
index.vuln.ts
line38
const regex1 = RegExp(req.body.word,'g');
const str1 = 'table football, foosball';
let matchedStrings = regex1.exec(str1);
res.end(matchedStrings)
- ReDoS in
index.vuln.ts
line47
const regex1 = RegExp('(x+x+)+y','g');
const str1 = 'table football, foosball';
let matchedStrings = regex1.exec(str1);
res.end(matchedStrings)