Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Properly handle XSS in search results #28

Description

@code-inflation

Describe the bug
The highlighting of the search results is currently done using dangerouslySetInnerHTML. This may be a XSS vulnerability and has to be fixed.

Fix
The highlighting of the search results has to be handled differently. Maybe with the same markdown render that we could use for the article content.

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

    backlogbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions