Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

html script code execution on the latest versions of Brackets with no file extension. #11938

Open
@stypr

Description

@stypr

If there's no extension on the file and html script code is inserted, the script gets executed without any filters.

I'm currently using latest edition of Brackets versions, with latest version of the minimap plugin.

the way to trigger the problem is as follows:

  1. create a filename with no extension (example, 'testtest')
  2. insert the html script tag with appropriate javascript codes. (example, '<script>alert('xss');</script>')
  3. open the file in brackets.

this bug might lead to security problems (precisely XSS/CSRF problems).

2015-11-20 4 40 08

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions