CVE-2016-10516 json
Pallets Werkzeug cross-site scripting vulnerability
published 2017-10-23 9 y ago modified 2026-06-17 4 mo ago also GHSA-h2fp-xgx6-xh6f , PYSEC-2017-43 , EUVD-2017-0141
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
Cross-site scripting (XSS) vulnerability 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) allows remote attackers to inject arbitrary web script or HTML via a field that contains an exception message.
Patch / fix
- pypi werkzeug 0.11.11
- palletsprojects werkzeug 0.11.11
- python-werkzeug Debian 14, Debian 13, Debian 12 0.11.11+dfsg1-1
debian advisories DEBIAN-CVE-2016-10516
- python-werkzeug Ubuntu 14.04 LTS 0.9.4+dfsg-1.1ubuntu2.1
- python-werkzeug Ubuntu 16.04 LTS 0.10.4+dfsg1-1ubuntu1.1
ubuntu advisories UBUNTU-CVE-2016-10516
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- tfm satellite capsule 6.6, satellite 6.6 5.0-7.el7sat
- kobo satellite capsule 6.6, satellite 6.6 0.5.1-1.el7sat
- pulp satellite capsule 6.6, satellite 6.6 2.19.1.1-1.el7sat
- gofer satellite capsule 6.6, satellite 6.6 2.12.5-5.el7sat
- future satellite capsule 6.6, satellite 6.6 0.16.0-11.el7sat
- ostree satellite capsule 6.6, satellite 6.6 2017.1-2.atomic.el7
- foreman satellite capsule 6.6, satellite 6.6 1.22.0.32-1.el7sat
- katello satellite capsule 6.6, satellite 6.6 3.12.0-2.el7sat
red hat advisories RHSA-2019:3172
- github.com/pallets/werkzeug@1034edc commit
- github.com/pallets/werkzeug#1001 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-10516 updated cvss 7.1
python-werkzeug: Cross-site scripting in render_full function in debug/tbtools.py
-
Red Hat Ceph Storage 1.3 python-werkzeug Red Hat Ceph Storage 2 python-werkzeug Red Hat Enterprise Linux OpenStack Platform 6 (Juno) python-werkzeug Red Hat Enterprise Linux OpenStack Platform 6 (Juno) Installer python-werkzeug Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) python-werkzeug Red Hat Software Collections python27-python-werkzeugaffected: no fix planned “Will not fix”
-
Red Hat Satellite 6.6 tfm 5.0-7.el7sat, kobo 0.5.1-1.el7sat, gofer 2.12.5-5.el7sat, pulp 2.19.1.1-1.el7sat, tfm-ror52 1.0-4.el7sat, future 0.16.0-11.el7sat, +448 more Red Hat Satellite Capsule 6.6 tfm 5.0-7.el7sat, kobo 0.5.1-1.el7sat, gofer 2.12.5-5.el7sat, pulp 2.19.1.1-1.el7sat, tfm-ror52 1.0-4.el7sat, future 0.16.0-11.el7sat, +239 morefixed: vendor fix RHSA-2019:3172
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.98% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | werkzeug | <0.11.11 |
0.11.11 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/pallets/werkzeug/pull/1001
web, third-party-advisory
-
github.com
/pallets/werkzeug/commit/1034edc7f901dd645ec6e462754111b39002bd65
web
-
blog.neargle.com
/2016/09/21/flask-src-review-get-a-xss-from-debuger/
issue-tracking, article
-
lists.debian.org
/debian-lts-announce/2017/11/msg00037.html
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2016-10516
advisory
-
github.com
/advisories/GHSA-h2fp-xgx6-xh6f
advisory
-
github.com
/pallets/werkzeug
package
-
github.com
/pypa/advisory-database/tree/main/vulns/werkzeug/PYSEC-2017-43.yaml
web
-
blog.neargle.com
/2016/09/21/flask-src-review-get-a-xss-from-debuger
web
Sources
- CVE List CVE-2016-10516
- GitHub Advisory GHSA-h2fp-xgx6-xh6f
- NVD CVE-2016-10516
- OSV PYSEC-2017-43
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.