Untrusted input is reflected into a web page without escaping, so an attacker's script runs in the victim's browser.
Upgrade to a patched version, then context-escape all output and set a strict Content-Security-Policy.
Never build HTML by string concatenation; use a framework that auto-escapes and treat all user input as untrusted.
Stateward flags Cross-site Scripting (XSS) in your own code and dependencies on every pull request.
Scan my repoSources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.