제출 #768226: Jcharis Machine-Learning-Web-Apps <=1.0.0 Reflected XSS정보

제목Jcharis Machine-Learning-Web-Apps <=1.0.0 Reflected XSS
설명The 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.
원천⚠️ https://github.com/Jcharis/Machine-Learning-Web-Apps/issues/15
사용자
 ZAST.AI (UID 87884)
제출2026. 02. 26. PM 01:54 (8 개월 ago)
모더레이션2026. 03. 11. PM 01:56 (13 days later)
상태수락
VulDB 항목350391 [Jcharis Machine-Learning-Web-Apps 까지 a6996b634d98ccec4701ac8934016e8175b60eb5 Jinja2 Template app.py render_template 크로스 사이트 스크립팅]
포인트들20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!