Closed Bug 1597257 Opened 5 years ago Closed 4 years ago

Monitor use of javascript: URIs in system privileged contexts and about: pages

Categories

(Core :: DOM: Security, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: ckerschb, Assigned: ckerschb)

References

(Blocks 1 open bug)

Details

(Keywords: sec-want, Whiteboard: [domsecurity-active][adv-main74-])

Attachments

(1 file)

We should try to eliminate all usages of javascript: URIs from our codebase in privileged code and also from our about: pages. About pages should be safe because we have a strong CSP in place. Anyway, we should add a dynamic runtime monitor which inspects such calls and at a minimum ensures we can not add new instances of javscript: URIs to our codebase in system privileged code.

Attachment #9120742 - Attachment description: Bug 1597257: Monitor use of javascript: URIs in system privileged contexts and about: pages. r=jkt,bzbarsky → Bug 1597257: Monitor use of javascript: URIs in system privileged contexts and about: pages. r=bzbarsky
Pushed by shindli@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b4a83aa9369d
Monitor use of javascript: URIs in system privileged contexts and about: pages. r=bzbarsky
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Whiteboard: [domsecurity-active] → [domsecurity-active][adv-main74-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: