Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

new security rule: iframe has invalid or missing sandbox attribute #189

Closed
HamletDRC opened this issue Aug 9, 2016 · 0 comments
Closed
Milestone

Comments

@HamletDRC
Copy link
Member

HamletDRC commented Aug 9, 2016

  • CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes

  • https://cwe.mitre.org/data/definitions/915.html

  • From WEB1088 ModernCop IframeHasInvalidSandboxAttribute WEB

    The <Iframe> tag has a missing or invalid sandbox attribute value. The <iframe> tag should have a 'sandbox' attribute set with at least one valid option ('allow-forms', 'allow-same-origin', 'allow-scripts', or 'allow-top-navigation').? Setting both 'allow-scripts' and 'allow-same-origin' for a single <iframe> tag is not advised.

@HamletDRC HamletDRC added this to the 2.0.10 milestone Aug 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant