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
The method Cxd8f35764 embeds untrusted data in generated output with send, at line 119 of /packages/server/src/routes.ts. This untrusted data is embedded into the output without proper sanitization or encoding, enabling an attacker to inject malicious code into the generated web-page.
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 Cxd8f35764 method at line 114 of /packages/server/src/routes.ts. 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.
Result #1: Severity: HIGH State: TO_VERIFY Status: RECURRENT Attack Vector:
Checkmarx (SAST): Reflected_XSS
Security Issue: Read More about Reflected_XSS
Checkmarx Project: electricmonk/ts-react-tdd
Repository URL: https://github.com/electricmonk/ts-react-tdd
Branch: main
Scan ID: e0708f2c-1083-45f2-a7cb-929f9b6a0c6c
The method Cxd8f35764 embeds untrusted data in generated output with send, at line 119 of /packages/server/src/routes.ts. This untrusted data is embedded into the output without proper sanitization or encoding, enabling an attacker to inject malicious code into the generated web-page.
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 Cxd8f35764 method at line 114 of /packages/server/src/routes.ts. 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.
Result #1:
Severity: HIGH
State: TO_VERIFY
Status: RECURRENT
Attack Vector:
1. params: /packages/server/src/routes.ts[114,35]
2. anony_75946c4b: /packages/server/src/routes.ts[114,29]
3. anony_75946c4b: /packages/server/src/routes.ts[114,29]
4. orderId: /packages/server/src/routes.ts[114,20]
5. orderId: /packages/server/src/routes.ts[114,20]
6. orderId: /packages/server/src/routes.ts[119,55]
7. send: /packages/server/src/routes.ts[119,33]
Review result in Checkmarx One: Reflected_XSS
Result #2:
Severity: HIGH
State: TO_VERIFY
Status: RECURRENT
Attack Vector:
1. body: /packages/server/src/routes.ts[133,58]
2. create: /packages/server/src/routes.ts[133,47]
3. AwaitExpr: /packages/server/src/routes.ts[133,29]
4. product: /packages/server/src/routes.ts[133,19]
5. product: /packages/server/src/routes.ts[134,34]
6. send: /packages/server/src/routes.ts[134,29]
Review result in Checkmarx One: Reflected_XSS
The text was updated successfully, but these errors were encountered: