nyx/tests/fixtures/xxe/javascript/irrelevant_xml_call.js
2026-05-07 01:29:31 -04:00

8 lines
265 B
JavaScript

// 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 };