#VU31406 Cross-site scripting in Werkzeug


Published: 2017-10-23 | Updated: 2020-07-18

Vulnerability identifier: #VU31406

Vulnerability risk: Low

CVSSv3.1: 5.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2016-10516

CWE-ID: CWE-79

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Werkzeug
Web applications / JS libraries

Vendor: The Pallets Projects

Description

Vulnerability allows a remote attacker to perform Cross-site scripting attacks.

An input validation error exists in the render_full function in debug/tbtools.py in the debugger in Pallets Werkzeug before 0.11.11 (as used in Pallets Flask and other products). A remote authenticated attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation
Update to version 0.11.11.

Vulnerable software versions

Werkzeug: 0.11.1 - 0.11.10


External links
http://blog.neargle.com/2016/09/21/flask-src-review-get-a-xss-from-debuger/
http://github.com/pallets/werkzeug/pull/1001
http://lists.debian.org/debian-lts-announce/2017/11/msg00037.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability