Reflected_XSS_All_Clients issue exists @ src/main/java/org/joychou/controller/Fastjson.java in branch master
The application's Deserialize embeds untrusted data in the generated output with toString, at line 20 of src\main\java\org\joychou\controller\Fastjson.java. This untrusted data is embedded straight into the output without proper sanitization or encoding, enabling an attacker to inject malicious code into the output.
The attacker would be able to alter the returned web page by simply providing modified data in the user input params, which is read by the Deserialize method at line 20 of src\main\java\org\joychou\controller\Fastjson.java. This input then flows through the code straight to the output web page, without sanitization.
This can enable a Reflected Cross-Site Scripting (XSS) attack.
Severity: High
CWE:79
Vulnerability details and guidance
Internal Guidance
Checkmarx
Lines: 20
Code (Line #20):
public static String Deserialize(@RequestBody String params) {
Reflected_XSS_All_Clients issue exists @ src/main/java/org/joychou/controller/Fastjson.java in branch master
The application's Deserialize embeds untrusted data in the generated output with toString, at line 20 of src\main\java\org\joychou\controller\Fastjson.java. This untrusted data is embedded straight into the output without proper sanitization or encoding, enabling an attacker to inject malicious code into the output.
The attacker would be able to alter the returned web page by simply providing modified data in the user input params, which is read by the Deserialize method at line 20 of src\main\java\org\joychou\controller\Fastjson.java. This input then flows through the code straight to the output web page, without sanitization.
This can enable a Reflected Cross-Site Scripting (XSS) attack.
Severity: High
CWE:79
Vulnerability details and guidance
Internal Guidance
Checkmarx
Lines: 20
Code (Line #20):