Skip to content

Bug report: XSS in "magic wand" for URL encode on mouseover #484

@mehgrmlhmpf

Description

@mehgrmlhmpf

Summary

Using the URL encoding with "all characters" works as expected with proper escaping. The "magic wand" however used for automatic decoding triggers an XSS on mouseover.

The automatic decoding via mouseover does not properly sanitize the given input.

The vector requires user interaction and is not persistent. This is most likely unexpected and unwanted behaviour and exploitation is very unlikely.

Verified on Chrome Version 71.0.3578.98 (Official Build) (64-bit) and Mozilla Firefox 64.0.

Example

Using the payload "<script>alert(1234)</script>" as input and "url encode all characters" as recipe the following behaviour can be reproduced. Other Javascript will also be executed.

Script execution is triggered at least by mouseover on the "magic wand".

2019-01-30_19-05
2019-01-30_19-06

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions