CVE-2026-61713
JSON

8.3high

Servo Sandbox bypass: declarative refresh can auto-navigate a sandboxed iframe

Severity
8.3high CVSS:3.1 by GitHub_M
Exploit likelihood
0.67% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-pxh3-4qqv-58mg

Description

Servo is a lightweight, high-performance web rendering engine for embedding web technologies in applications. Prior to 0.3.0, a sandboxed iframe can use declarative refresh to auto-navigate because RefreshRedirectDue::invoke() in components/script/dom/document/document.rs does not enforce the sandboxed automatic-features flag. The bypass occurs with sandbox="", sandbox="allow-same-origin", sandbox="allow-forms", and sandbox="allow-same-origin allow-forms". Attacker-controlled framed content can replace itself without user action, enabling framed phishing, content replacement, redirect loops, and limited denial of service, but the issue does not by itself permit script execution or parent DOM access. This issue is fixed in version 0.3.0.

Affected

Product or packageVersionsReported by
servo servo< 0.3.0CVE List
servo (crates.io)before 0.3.0GitHub Advisory Database

All scores

GitHub_M8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
GitHub8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L

Classification

CWE-693

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

Servo is a lightweight, high-performance web rendering engine for embedding web technologies in applications. Prior to 0.3.0, a sandboxed iframe can use declarative refresh to auto-navigate because RefreshRedirectDue::invoke() in components/script/dom/document/document.rs does not enforce the sandboxed automatic-features flag. The bypass occurs with sandbox="", sandbox="allow-same-origin", sandbox="allow-forms", and sandbox="allow-same-origin allow-forms". Attacker-controlled framed content can replace itself without user action, enabling framed phishing, content replacement, redirect loops, and limited denial of service, but the issue does not by itself permit script execution or parent DOM access. This issue is fixed in version 0.3.0.

GitHub Advisory Database

A sandboxed iframe can auto-navigate itself via declarative refresh even when automatic features should be blocked. This allows attacker-controlled embedded content to redirect itself without user action.

Summary

Servo allows a sandboxed iframe to auto-navigate itself via declarative refresh in configurations that should block automatic features.

The issue reproduces in the must-block rows of the matrix:

  • sandbox=""
  • sandbox="allow-same-origin"
  • sandbox="allow-forms"
  • sandbox="allow-same-origin allow-forms"

This is a client-side sandbox-policy bypass. It does not by itself prove script execution or parent DOM access, but it does let attacker-controlled sandboxed content redirect itself without user action.

Details

The declarative refresh path is missing sandbox enforcement:

  • [components/script/dom/document/document.rs:239] RefreshRedirectDue::invoke() contains TODO: check sandbox
  • [components/script/dom/document/document.rs:4522] the refresh scheduler contains TODO: handle active sandboxing flag

The implementation currently schedules and executes the refresh without enforcing the sandboxed automatic-features restriction described by the HTML spec comments in the same code.

What I observed:

  • In Servo, the must-block rows above navigated successfully.
  • In Chrome, the same rows were blocked.
PoC

Serve the HTML files in this folder over HTTP.

Files:

Steps:

  1. Open viewer.html over HTTP.
  2. The page shows a visible sandboxed iframe.
  3. In a correct browser, the iframe stays on child.html.
  4. In Servo, the iframe visibly turns into the success.html page.
Impact

This is a client-side sandbox-policy bypass.

Confirmed impact:

  • autonomous iframe self-navigation in sandbox configurations that should block it
  • framed phishing / content swap after initial render
  • redirect loops / annoyance / limited DoS

References

Sources

SourceRecordLicence
CVE ListCVE-2026-61713 changed 2026-11-18CVE Terms of Use
GitHub Advisory DatabaseGHSA-pxh3-4qqv-58mg changed 2026-11-19CC-BY-4.0
NVDCVE-2026-61713 changed 2026-11-18Public domain