We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vulnerability][demo][acl] No ACLs for iframe.contentWindow
iframe.contentWindow
HTMLIFrameElement: { [S_CHAIN]: () => acl.HTMLElement, [S_PROTOTYPE]: { [S_CHAIN]: S_CHAIN, [S_INSTANCE]: { [S_CHAIN]: S_CHAIN, contentDocument: '---', contentWindow: '---', }, }, },
HTMLIFrameElement: { [S_CHAIN]: () => acl.HTMLElement, [S_PROTOTYPE]: { [S_CHAIN]: S_CHAIN, [S_INSTANCE]: { [S_CHAIN]: S_CHAIN, contentWindow: { [S_DEFAULT]: '---', '@iframe_contentWindow_accessor': function _iframeContentWindowAcl( normalizedThisArg, normalizedArgs /* ['property', args], ['property', value], etc. */, aclArgs /* [name, isStatic, isObject, property, opType, context] */, hookArgs /* [f, thisArg, args, context, newTarget] */, applyAcl /* for recursive application of ACL */) { let opType = aclArgs[4]; if (opType === 'r') { Policy.trackClass('window', normalizedThisArg[normalizedArgs[0]]); } return 'r--'[opTypeMap[opType]] === opType; // equivalent to 'r--' acl }, }, }, }, },
The text was updated successfully, but these errors were encountered:
ea8a2f1
0.0.229 with Fix #238 ACLs for iframe.contentWindow
9d80e76
No branches or pull requests
[vulnerability][demo][acl] No ACLs for
iframe.contentWindow
Root Cause
iframe.contentWindow
, which is a global object.WARNING
iframe.contentWindow
must be limited to minimum or no access since full ACLs are NOT applied to the global objects in the iframe. See [vulnerability][demo][acl] Full ACLs are not applied to iframe.contentWindow #239Fix
The text was updated successfully, but these errors were encountered: