Selenium 4.2.0 Version Vulnerability
Selenium Version Vulnerability: selenium>=3.141.0,<=4.2.0
using dash 2.14.2
Describe the bug
We are using Synk to scan the dependencies of our project, which is using the latest version of dash. The Synk scan is showing these vulnerabilities (Snyk: CVSS 7.5 NVD: CVSS 7.5), as a result of the selenium version being kept below 4.2.0 here.
Expected behavior
We expect there not to be open high vulnerabilities in the dash application - although they are only exposed through testing.
A suggestion is that this dependency on selenium is either upgraded, or removed from the client-facing installation.
I am also hit by this upper boundary on the selenium version. Is there a particular reason for this?
cc @mike-sol
This is still an issue 2 years later in Dash 3.2.0. Can someone at least explain why the current version of Dash is pinned to a 3 year old version of Selenium? Besides the security issues, this version of Selenium is using deprecated features from urllib3 and throws the following warnings repeatedly whenever I run my tests:
.../lib/python3.13/site-packages/selenium/webdriver/remote/remote_connection.py:391: DeprecationWarning:
HTTPResponse.getheader() is deprecated and will be removed in urllib3 v2.1.0. Instead use HTTPResponse.headers.get(name, default).
@T4rk1n please have a look and let me know how disruptive an update would be.
The selenium lock is mostly for our own tests and old percy support, could unlock for the extra dep but installed locked in the ci.
Thanks @T4rk1n - @jblang would you like to submit a PR for us to review?
I can take a crack at it next week.
Will be closed by #3336
Unfortunately, this is still open, the PR with work from June 2025 that was mentioned in November 2025 was closed without being merged in April 2026. The old selenium version pins a rather outdated urllib3 version that has several high vulnerabilities (several with CVSS of 8.9). Any update of timeline when a fix can be expected?
@jschelbert we unpinned selenium in main last month and this should be resolved in the next dash release. Thanks for calling this out.