-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
topic/securitySomething leaks user information or is otherwise vulnerable. Should be fixed!Something leaks user information or is otherwise vulnerable. Should be fixed!
Description
- Gitea version (or commit ref): 1.4.0+rc1
- Operating system: Ubuntu Server 16.04
- Database (use
[x]):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No, because repo indexer is disabled
- Not relevant
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>
Metadata
Metadata
Assignees
Labels
topic/securitySomething leaks user information or is otherwise vulnerable. Should be fixed!Something leaks user information or is otherwise vulnerable. Should be fixed!


