Skip to content
Discussion options

You must be logged in to vote

Database controller methods returning structured query results are not XSS concerns when sent as JSON responses, as they have clearly defined data structures and are not rendered as HTML.

For the case of the index.html file, this is a false positive because the user input (language code) is properly sanitized on line 129 by converting single quotes to HTML entities, and the injection occurs only within an HTML attribute context where the sanitization is sufficient to prevent XSS exploitation.

I would also like to add that I cannot provide detailed analysis for every automated scanner report, for which we also run independently at our own discretion. My response effort will match the effor…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@PrimeObjects
Comment options

@danny-avila
Comment options

Answer selected by rubentalstra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #7865 on June 12, 2025 15:31.