Skip to content

Security issue #25

@howardroark2018

Description

@howardroark2018

Unsanitized markdown rendering
The app renders markdown using marked. parse(...) and then injects it with
dangerouslySetInnerHTML.
That happens in at least two important places:

  • note viewing
  • Al response viewing
    I did not see sanitization like DOMPurify.

That means imported content, collaborator content, or crafted note content could become an XSS vector.
For a notes app with:

  • auth
  • collaboration
  • admin accounts
  • secret keys

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