You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I enter a HTML tag into the repository search, the query gets rendered as HTML. But it is sort of escaped because only h1, b, i etc. are rendered but without parameters like onload.
Screenshots
Search-Query: <i>
Search-Query: <h1>
Search-Query: <b>Hello</b><h1>World</h1>
The text was updated successfully, but these errors were encountered:
FYI, while this is certainly a bug (good catch @JonasFranzDEV), I don't believe XSS is a concern because the search query was previously piped through Str2Html (which sanitizes unsafe HTML)
@ethantkoenig You're right. It is not a real XSS but it could be used to show the user a big text for example saying to send there password to an email.
[x]
):Description
When I enter a HTML tag into the repository search, the query gets rendered as HTML. But it is sort of escaped because only h1, b, i etc. are rendered but without parameters like onload.
Screenshots
Search-Query:
<i>
Search-Query:
<h1>
Search-Query:
<b>Hello</b><h1>World</h1>
The text was updated successfully, but these errors were encountered: