XSS vulnerability on custom project templates form (#197302) · Issues · GitLab.org / GitLab · GitLab (original) (raw)

Skip to content

GitLab Next

XSS vulnerability on custom project templates form

Summary

The "custom project templates" form is vulnerable to Cross Site Scripting (XSS) attack, as originally reported by @jbroullon in https://gitlab.com/gitlab-org/security/gitlab/merge_requests/50#note_271210097.

Steps to reproduce

What is the current bug behavior?

User input is treated as trusted.

What is the expected correct behavior?

User input is not treated as trusted.

Relevant logs and/or screenshots

Similar to [#30173 (closed)](/gitlab-org/gitlab/-/issues/30173 "Stored XSS in "Create Groups"") and #197301 (closed).

Output of checks

This bug happens on GitLab.com

Possible fixes