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_SQL_Injection issue exists @ sample.xsjs in branch main
The application's addProductInBasket method executes an SQL query with query, at line 29 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.
An attacker would be able to inject arbitrary syntax and data into the SQL query, by crafting a malicious payload and providing it via the input get; this input is then read by the method at line 85 of /src/sample.xsjs. This input then flows through the code, into a query and to the database server - without sanitization.
XS_SQL_Injection issue exists @ sample.xsjs in branch main
The application's addProductInBasket method executes an SQL query with query, at line 29 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.
An attacker would be able to inject arbitrary syntax and data into the SQL query, by crafting a malicious payload and providing it via the input get; this input is then read by the method at line 85 of /src/sample.xsjs. This input then flows through the code, into a query and to the database server - without sanitization.
This may enable an 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: 85
References
Read more
The text was updated successfully, but these errors were encountered: