The webbrowser.open() API would accept leading dashes in...
Moderate severity
Unreviewed
Published
Mar 20, 2026
to the GitHub Advisory Database
•
Updated Mar 25, 2026
Description
Published by the National Vulnerability Database
Mar 20, 2026
Published to the GitHub Advisory Database
Mar 20, 2026
Last updated
Mar 25, 2026
The webbrowser.open() API would accept leading dashes in the URL which
could be handled as command line options for certain web browsers. New
behavior rejects leading dashes. Users are recommended to sanitize URLs
prior to passing to webbrowser.open().
References