Skip to content

justify or revert addition of "position" to allowed CSS list #388

Description

@jkl-ds

d580039 added "position" to the default allowed CSS list without obvious justification.

The "position" property previously had been disallowed, presumably because of the potential to use it to create a misleading interface by overlaying malicious content.

http://www.technicalinfo.net/papers/Phishing.html

Several methods exist for Phishers to override displayed content. One of the most popular methods of inserting fake content within a page is to use the DHTML function - DIV. The DIV function allows an attacker to place content into a “virtual container” that, when given an absolute position and size through the STYLE method, can be positioned to hide or replace (by “sitting on top”) underlying content.

Please:

  1. justify the decision to allow "position" or revert the change
  2. add justifications to all additions in the future and do so in smaller commits
  3. advise whether a CVE will be issued

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions