Servo Sandbox bypass: declarative refresh can auto-navigate a sandboxed iframe
- State
- Published
- Severity
- 8.3 High
- Published
- Nov 17, 2026
- Updated
- Nov 18, 2026
- Reserved
- Jul 10, 2026
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.
| Product | Versions |
|---|---|
| servo servo | < 0.3.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 8.3 High | GitHub_M |
Weaknesses
- CWE-693 Protection Mechanism Failure
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.