Soumettre #768226: Jcharis Machine-Learning-Web-Apps <=1.0.0 Reflected XSSinformation

TitreJcharis Machine-Learning-Web-Apps <=1.0.0 Reflected XSS
DescriptionThe POST /preview endpoint takes user input from request.form['newtext'] and passes it directly to render_template() as a template variable. If the Jinja2 template renders newtext without escaping (e.g. using {{ newtext | safe }}), arbitrary HTML/JavaScript is injected into the response. The POC submits <img src=1 onerror=alert(9)> and the payload executes in the browser, confirming Reflected XSS. An attacker can craft a malicious link to steal session cookies or perform actions on behalf of the victim.
La source⚠️ https://github.com/Jcharis/Machine-Learning-Web-Apps/issues/15
Utilisateur
 ZAST.AI (UID 87884)
Soumission26/02/2026 13:54 (il y a 8 mois)
Modérer11/03/2026 13:56 (13 days later)
StatutAccepté
Entrée VulDB350391 [Jcharis Machine-Learning-Web-Apps Jinja2 Template app.py render_template cross site scripting]
Points20

Want to know what is going to be exploited?

We predict KEV entries!