1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 02:04:27 +00:00
Gusted 661d3d28e9
Prevent possible XSS when using jQuery (#18289)
In the case of misuse or misunderstanding from a developer whereby,
if `sel` can receive user-controlled data, jQuery `$(sel)` can lead to the
creation of a new element. Current usage is using hard-coded selectors
in the templates, but nobody prevents that from expanding to
user-controlled somehow.
2022-01-16 13:14:32 +08:00
..
2021-11-22 16:19:01 +08:00
2021-11-22 16:19:01 +08:00
2021-11-11 09:52:16 +08:00
2021-11-22 16:19:01 +08:00
2021-11-22 16:19:01 +08:00
2021-11-22 16:19:01 +08:00
2022-01-15 17:52:56 +01:00