nyx/tests/dynamic_fixtures/python/xss_unsupported.py

10 lines
228 B
Python
Raw Normal View History

"""XSS — unsupported fixture (low confidence).
Expected verdict: Unsupported(ConfidenceTooLow)
"""
def render(input_text):
"""Vulnerable render in unsupported-confidence test."""
print(f"<span>{input_text}</span>")