Servo
Servo Sandbox bypass: declarative refresh can auto-navigate a sandboxed iframe
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.3.0
Fixed in 0.3.0
Mitigation
Upgrade servo to 0.3.0 or later.
References
- Vendor advisory github.com/servo/servo/security/advisories/GHS…
- Patch github.com/servo/servo/pull/45116
- Patch github.com/servo/servo/commit/70df09e72f40fab4…
1 more
- Release notes github.com/servo/servo/releases/tag/v0.3.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.