Skip to content

[CodeQL #45] Reflected server-side cross-site scripting #47

Description

@devin-ai-integration

CodeQL Alert #45: Reflected server-side cross-site scripting

Field Value
Rule ID py/reflective-xss
Severity MEDIUM
File path vulnerable_xss.py
Line range Lines 24–24
CWE category CWE-079, CWE-116
Classification demo-only
Priority tier batched
Alert link View CodeQL Alert

Code Snippet

    </html>
    """
    
    return html

@app.route('/search')
def search():

Classification: demo-only

This file is prefixed with vulnerable_ and is an intentionally insecure demo file for CodeQL demonstration purposes.


Generated by automated security triage on 2026-03-25.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions