nyx/tests/fixtures/xxe/python/irrelevant_xml_call.py

9 lines
244 B
Python
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.
from flask import request
def handle():
body = request.args.get("xml")
return "<wrap>" + body + "</wrap>"