Property
Languageregex
Severitylow
CWECWE-79: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’)
OWASPA07:2017 - Cross-Site Scripting (XSS)
Confidence LevelLow
Impact LevelMedium
Likelihood LevelLow

Description#

Autoescaping is disabled in a Flask template segment, which means raw HTML—including any user-supplied content—can be rendered directly. This exposes the template to cross-site scripting (XSS) if user input is not strictly controlled.

Impact#

If an attacker manages to inject malicious scripts through user input, they could execute code in other users’ browsers, steal session cookies, hijack accounts, or perform actions on behalf of users. This can lead to data breaches, loss of user trust, and potential regulatory violations.