Skip to content

Bug in XSS ajax tests? #120

@iosebyte

Description

@iosebyte

I'm using Benchmark suite to test an XSS vulnerability detector.
In ajax tests (e.g. BenchmarkTest00036, BenchmarkTest00541 ...) I have found an issue. The ajax request is not setting the 'Content-Type' header, so XMLHttpRequest uses the default value 'text/plain;charset=UTF-8' instead of 'application/x-www-form-urlencoded', which is not valid to parse the parameters from the server side, and the response is always empty. Is this an actual bug or just an extra issue to bypass?

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