Servo Sandbox bypass: `meta refresh` can execute `javascript:` in `sandbox=""`
- State
- Published
- Severity
- 8.8 High
- Published
- Nov 17, 2026
- Updated
- Nov 17, 2026
- Reserved
- Jul 10, 2026
Description
Servo is a lightweight, high-performance web rendering engine for embedding web technologies in applications. Prior to 0.4.0, a frame with sandbox="" can reach and execute a javascript: URL through declarative refresh because RefreshRedirectDue::invoke() in components/script/dom/document/document.rs can reach JavaScript URL handling in components/script/script_thread.rs without enforcing the sandbox's script prohibition. This gives attacker-controlled content arbitrary JavaScript execution in a frame intended to be scriptless, including nested DOM probe creation and blind browser requests. The frame retains an opaque origin, so the issue does not by itself provide parent DOM access. This issue is fixed in version 0.4.0.
| Product | Versions |
|---|---|
| servo servo | < 0.4.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 8.8 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.