nyx/tests/fixtures/xxe/javascript/irrelevant_xml_call.js

9 lines
265 B
JavaScript
Raw Permalink Normal View History

2026-05-07 01:29:31 -04:00
// Baseline: tainted body flows through a non-parser string operation.
// No XML parser entry point, no XXE label classification.
function handle(req, res) {
const body = req.query.xml;
res.send("<wrap>" + body + "</wrap>");
}
module.exports = { handle };