Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(security) fix Reflected XSS vulnerability #2356

Conversation

NicolasToussaint
Copy link
Member

@NicolasToussaint NicolasToussaint commented Dec 13, 2022

Description

Fix situations possibly leading to Reflected XSS vulnerability exploitation.

The vulnerabilities have been detected by a Checkmarx scan.

Changes

Used htmlspecialchars to sanitize data taken from untrusted source shown on html page

was displayed directly on the web page

Signed-off-by: Toussaint Nicolas <nicolas1.toussaint@orange.com>
Copy link
Member

@shaheemazmalmmd shaheemazmalmmd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. Needs test.

@shaheemazmalmmd shaheemazmalmmd merged commit 8e0eba0 into fossology:master Jan 2, 2023
@NicolasToussaint
Copy link
Member Author

Thank you Shaheem

@NicolasToussaint NicolasToussaint deleted the fix/orange-opensource/security/fix-reflected-xss branch January 2, 2023 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants