Skip to content

Stored XSS in /store endpoint (CVE-2025-70849) #462

@wpwilson10

Description

@wpwilson10

The /store handler in pkg/api/http/store.go doesn't set a Content-Type header, so Go sniffs HTML payloads and serves them as text/html. This allows stored XSS.

Ref: https://gist.github.com/kazisabu/27f3e272f474005001a9ecd2c258dbea

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions