{"id":"GHSA-pxh3-4qqv-58mg","summary":"Servo Sandbox bypass: declarative refresh can auto-navigate a sandboxed iframe","details":"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.\n\n### Summary\nServo allows a sandboxed iframe to auto-navigate itself via declarative refresh in configurations that should block automatic features.\n\nThe issue reproduces in the must-block rows of the matrix:\n\n- `sandbox=\"\"`\n- `sandbox=\"allow-same-origin\"`\n- `sandbox=\"allow-forms\"`\n- `sandbox=\"allow-same-origin allow-forms\"`\n\nThis 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.\n\n### Details\nThe declarative refresh path is missing sandbox enforcement:\n\n- [components/script/dom/document/document.rs:239] `RefreshRedirectDue::invoke()` contains `TODO: check sandbox`\n- [components/script/dom/document/document.rs:4522] the refresh scheduler contains `TODO: handle active sandboxing flag`\n\nThe implementation currently schedules and executes the refresh without enforcing the sandboxed automatic-features restriction described by the HTML spec comments in the same code.\n\nWhat I observed:\n\n- In Servo, the must-block rows above navigated successfully.\n- In Chrome, the same rows were blocked.\n\n### PoC\nServe the HTML files in this folder over HTTP.\n\nFiles:\n- [child.html](https://github.com/user-attachments/files/27770907/child.html)\n- [success.html](https://github.com/user-attachments/files/27770910/success.html)\n- [viewer.html](https://github.com/user-attachments/files/27770911/viewer.html)\n\nSteps:\n\n1. Open `viewer.html` over HTTP.\n2. The page shows a visible sandboxed iframe.\n3. In a correct browser, the iframe stays on `child.html`.\n4. In Servo, the iframe visibly turns into the `success.html` page.\n\n### Impact\nThis is a client-side sandbox-policy bypass.\n\nConfirmed impact:\n\n- autonomous iframe self-navigation in sandbox configurations that should block it\n- framed phishing / content swap after initial render\n- redirect loops / annoyance / limited DoS","aliases":["CVE-2026-61713"],"modified":"2026-11-19T21:00:03.954494184Z","published":"2026-11-19T20:45:22Z","database_specific":{"nvd_published_at":"2026-11-17T22:19:20Z","cwe_ids":["CWE-693"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-11-19T20:45:22Z"},"references":[{"type":"WEB","url":"https://github.com/servo/servo/security/advisories/GHSA-pxh3-4qqv-58mg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61713"},{"type":"WEB","url":"https://github.com/servo/servo/pull/45116"},{"type":"WEB","url":"https://github.com/servo/servo/commit/70df09e72f40fab45493ffee3821e7a1a31ae4d2"},{"type":"PACKAGE","url":"https://github.com/servo/servo"},{"type":"WEB","url":"https://github.com/servo/servo/releases/tag/v0.3.0"}],"affected":[{"package":{"name":"servo","ecosystem":"crates.io","purl":"pkg:cargo/servo"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-pxh3-4qqv-58mg/GHSA-pxh3-4qqv-58mg.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L"}]}