Skip to content

chore(deps): update rust crate webbrowser to v1.2.2 [security] - #14

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/crate-webbrowser-vulnerability
Open

chore(deps): update rust crate webbrowser to v1.2.2 [security]#14
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/crate-webbrowser-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
webbrowser dependencies patch 1.2.11.2.2

Unix BROWSER handling allows browser argument injection

GHSA-2ph8-5cr8-hr33 / RUSTSEC-2026-0257

More information

Details

On Unix platforms handled by src/unix.rs, affected versions substitute the
caller-supplied URL into the BROWSER environment-variable template before
tokenizing the resulting string with split_ascii_whitespace(). If an
application passes an attacker-controlled non-HTTP(S) URL whose parsed form
retains spaces and the effective BROWSER template contains %s, text that
should remain within one URL argument becomes additional browser arguments.

The issue was reproduced with Chromium by injecting
--remote-debugging-port, which exposed a local DevTools endpoint, and
--proxy-server, which redirected browser traffic through an
attacker-controlled proxy. The available arguments and resulting impact depend
on the browser launched by the affected application.

Version 1.2.2 fixes the issue by tokenizing the BROWSER template before
substituting the URL, preserving the URL as part of a single argument. Users
should upgrade to version 1.2.2 or later. Applications that only need HTTP(S)
URLs can also enable the crate's hardened feature as defense in depth.

This issue was reported by
@​dywzju09-blip.

Severity

Unknown

References

This data is provided by OSV and the Rust Advisory Database (CC0 1.0).


Release Notes

amodm/webbrowser-rs (webbrowser)

v1.2.2

Compare Source

Fixed
  • Unix: Fix the way BROWSER env var is handled. See #​119
  • macOS: Move to objc2. See #​117.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants