{"id":"CVE-2026-61713","aliases":["GHSA-pxh3-4qqv-58mg"],"url":"https://o3.security/vulnerability/CVE-2026-61713","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","published":"2026-11-17T21:19:10.749Z","modified":"2026-11-19T20:45:24.335407384Z","cvss":{"score":8.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L"},"epss":{"score":0.00538,"percentile":0.4607,"asOf":"2026-11-19"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"servo","fixedVersion":"0.3.0"}],"fix":{"url":"https://github.com/servo/servo/commit/70df09e72f40fab45493ffee3821e7a1a31ae4d2","label":"servo/servo@70df09e"},"references":[{"type":"WEB","url":"https://github.com/servo/servo/releases/tag/v0.3.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61713.json"},{"type":"ADVISORY","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":"FIX","url":"https://github.com/servo/servo/commit/70df09e72f40fab45493ffee3821e7a1a31ae4d2"},{"type":"FIX","url":"https://github.com/servo/servo/pull/45116"},{"type":"PACKAGE","url":"https://github.com/servo/servo"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-19T20:45:24.335407384Z"}}