Skip to content

CX Reflected_XSS_All_Clients @ BookDetail_jsp.java [master] #44

@ghannamz

Description

@ghannamz

Reflected_XSS_All_Clients issue exists @ BookDetail_jsp.java in branch master

Method getParam at line 168 of BookDetail_jsp.java gets user input for the paramName element. This element’s value then flows through the code without being properly sanitized or validated and is eventually displayed to the user in method Detail_Show at line 502 of BookDetail_jsp.java. This may enable a Cross-Site-Scripting attack.

Severity: High
CWE:79
Vulnerability details and guidance
Checkmarx
Lines: 169


Code (Line #169):

    String param = req.getParameter(paramName);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions