Skip to content

Client side code injection #10

Description

@t3h2mas

Messages seam to be sanitized. So is the username (even if someone types /me with no arguments.

However, you can use the whisper and mes commands to execute arbitrary JavaScript.

Examples:

(/w and /me are interchangeable here)
/w <script>alert('Hello!');</script>
or
/w <script>document.body.innerHTML='';</script>

Note: there can't be any spaces in the injected code.

threat level

Very low

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions