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
Description
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:
- create a filename with no extension (example, 'testtest')
- insert the html script tag with appropriate javascript codes. (example, '<script>alert('xss');</script>')
- open the file in brackets.
this bug might lead to security problems (precisely XSS/CSRF problems).