Skip to content

XSS in timeline from query #448

@oprudkyi

Description

@oprudkyi

Hi

maximebf/debugbar v1.15.1
barryvdh/laravel-debugbar v3.2.8

in timeline tab, bottom table

sample query

\DB::statement("SELECT * FROM users WHERE id = '<script>debugger;alert(5);</script>' OR SLEEP(2)");

image

possible source - unescaped aggregate.label
https://github.com/maximebf/php-debugbar/blob/1a1605b8e9bacb34cc0c6278206d699772e1d372/src/DebugBar/Resources/widgets.js#L506

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