Skip to content

Zeroclick XSS via fileId #29

@moshiax

Description

@moshiax

FileId is inserted directly into the DOM without escaping, allows HTML injection.

How to reproduce

Modify the file ID generator to inject payload

function generateFileId() {
  return 'file_' + Date.now() + '_"><img src=x onerror=alert("XSS")>';
}

Send any file
Image

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