Skip to content

obs-browser: sync to upstream 2.27.3 (scheme handler served local files to http:// pages) #1206

Closed

Description

@vpacher

Problem

The plugins/obs-browser submodule is pinned to obs-rust/obs-browser 1e313ae (2.27.1, 2026-10-07). obs-rust/obs-browser is a mirror of upstream obsproject/obs-browser (same commit hashes, plus one docs commit). Upstream has 6 more commits since then (2.27.2 and 2.27.3, shipped in OBS 33.0.0-rc2). One of them is a security hardening:

  • 6b6d456 "Additional restrictions on custom scheme handler" (browser-scheme.cpp, +10). obs-browser serves local files through its own http://absolute/ scheme handler. A page loaded over plain http:// in a browser source or dock can make a request to http://absolute/<path> (upstream names fetch with no-cors), and the handler serves the local file. A page served over https:// is already blocked by mixed-content rules. The fix answers only when the frame itself comes from http://absolute/.

The other commits:

Upstream release notes (33.0.0-rc2): "Fixed an issue where the browser local file handler could be invoked from a remote page served over an insecure context".

Fix

  1. obs-rust/obs-browser: merge upstream 07227af (2.27.3), keeping upstream's commit hashes as the mirror does.
  2. obs-studio: move plugins/obs-browser to that merge.

Verification on Linux (Debian 13, CEF 7871): a browser source loads a page over http:// from a local web server; the page loads an image from http://absolute/<local file> and shows whether it loaded. Expected: it loads on 1e313ae and is refused after the update. A page loaded from a local file (http://absolute/ frame) still loads its local images.

Related: #1092 (CEF 7871 end of life, no_sandbox); upstream OBS 33 ships the same CEF 7871 and still sets no_sandbox = true.

Activity

  1. vpacher commented on Oct 17, 2026

    @vpacher
    MemberAuthor

    Claiming: PR to obs-rust/obs-browser (branch sync/upstream-2.27.3), then the submodule move here. I verify on Debian 13 with CEF 7871 before and after, as described above.

  2. added
    claimedAn agent or person has claimed this; check the claim comment before starting
    and removed
    claimedAn agent or person has claimed this; check the claim comment before starting
    on Oct 17, 2026
  3. zackees commented on Oct 25, 2026

    @zackees
    Member

    Closing as done. obs-rust/obs-browser#2 (@vpacher, "Update to 2.27.3") merged, and master's plugins/obs-browser pointer (7bab463) contains upstream's scheme-handler hardening 6b6d456 (the compare shows the pointer ahead of it). Thanks!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions