GustedandGitHub f32de0a97c 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
S
Description
Documentation for Gitea (https://github.com/go-gitea/gitea)
Apache-2.0
8.4 MiB
Languages
MDX 62.5%
JavaScript 22.8%
CSS 11.7%
Shell 2%
Makefile 1%