Open Bug 1891477 Opened 2 years ago Updated 8 months ago

CSP frame-ancestors * allows sandboxed frame

Categories

(Core :: DOM: Security, defect)

Firefox 124
defect

Tracking

()

People

(Reporter: jannis, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [domsecurity-backlog2])

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0

Steps to reproduce:

Actual results:

  • Framing is allowed: * matches the opaque origin of the sandboxed frame
  • Framing is not allowed in Chromium and Safari

Expected results:

Blocks: CSP

Thank you jannis for reporting all these issues.

Realistically we should probably just go ahead and implement 6.7.2.7. Does url match source list in origin with redirect count?. Right now our current implementation is mostly in nsCSPHostSrc::permits, which is quite different from what is currently specified. However it's quite likely that current specification is also not actually web compatible.

The severity field is not set for this bug.
:freddy, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(fbraun)
Severity: -- → S3
Flags: needinfo?(fbraun)
Whiteboard: [domsecurity-backlog2]
Status: UNCONFIRMED → NEW
Ever confirmed: true
Duplicate of this bug: 2019516
You need to log in before you can comment on or make changes to this bug.