I will give you a description of vulnerability. You should extract vulnerable functions. Write the output in following format: 
FUNCS function1, function2, ...
If you found no functions, output "NONE". Print only funcitons mentioned in description. Ignore URLs.

Here is the description:
In JetBrains TeamCity before 2022.04 potential XSS via Referrer header was possible
 Use words with all capital letters to highlight key points, but make sure that words with all capital letters appear less than 5 times
user