Skip to content

XSS injection problem #500

@briedis

Description

@briedis

There still persists an xss injection.

Just try to edit tests, and alerts are being thrown. You can see there is added an ESCAPED string, but it is unescaped and placed in DOM as HTML:

    beforeEach(function() {
        [..]
        for (var i = 1; i < 100; i++) {
            var $option = $('<option value="' + i + '">&lt;script&gt;alert(1);&lt;/script&gt;</option>');
            [..]
        }
        [..]
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions