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.
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.
The declarative refresh path is missing sandbox enforcement:
RefreshRedirectDue::invoke() contains TODO: check sandboxTODO: handle active sandboxing flagThe 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:
Serve the HTML files in this folder over HTTP.
Files:
Steps:
viewer.html over HTTP.child.html.success.html page.This is a client-side sandbox-policy bypass.
Confirmed impact:
{
"cwe_ids": [
"CWE-693"
],
"github_reviewed": true,
"github_reviewed_at": "2026-11-19T20:45:22Z",
"nvd_published_at": "2026-11-17T22:19:20Z",
"severity": "HIGH"
}