You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XS_Second_Order_SQL_Injection issue exists @ sample.xsjs in branch main
The application's createBasketForUser method executes an SQL query with query, at line 75 of /src/sample.xsjs. The application constructs this SQL query by embedding an untrusted string into the query without proper sanitization. The concatenated string is submitted to the database, where it is parsed and executed accordingly.
The attacker may be able to write arbitrary data to the database, which is then retrieved by the application with executeQuery in createBasketForUser method at line 66 of /src/sample.xsjs. This data then flows through the code, until it is used directly in the SQL query without sanitization, and then submitted to the database server for execution.
This may enable a Second-Order SQL Injection attack.
XS_Second_Order_SQL_Injection issue exists @ sample.xsjs in branch main
The application's createBasketForUser method executes an SQL query with query, at line 75 of /src/sample.xsjs. The application constructs this SQL query by embedding an untrusted string into the query without proper sanitization. The concatenated string is submitted to the database, where it is parsed and executed accordingly.
The attacker may be able to write arbitrary data to the database, which is then retrieved by the application with executeQuery in createBasketForUser method at line 66 of /src/sample.xsjs. This data then flows through the code, until it is used directly in the SQL query without sanitization, and then submitted to the database server for execution.
This may enable a Second-Order SQL Injection attack.
Namespace: thtri
Repository: cx1-test-feedback-app
Repository Url: https://github.com/thtri/cx1-test-feedback-app
CxAST-Project: thtri/cx1-test-feedback-app
CxAST platform scan: d9bb4146-322f-4d77-9ac6-7a858eaa2c1a
Branch: main
Application: cx1-test-feedback-app
Severity: HIGH
State: TO_VERIFY
Status: RECURRENT
CWE: 89
Lines: 66
References
Read more
The text was updated successfully, but these errors were encountered: