testable-eu / sast-testability-patterns

Testability Pattern Catalogs for SAST
https://owasp.org/www-project-testability-patterns-for-web-applications/
Apache License 2.0
28 stars 2 forks source link

ERROR; JS 105_this_statement #34

Closed Simojoviz closed 1 year ago

Simojoviz commented 1 year ago

Testability pattern

JS 105_this_statement

Problem statement

The expectation field of 1_instance_105_this_statement.json is set to false, even if the instance is vulnerable to XSS.

image

Proposed changes

Change the expectation field value to true.