We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef006b2 commit 3f0755fCopy full SHA for 3f0755f
spec/vulnerabilities.spec.js
@@ -1403,7 +1403,7 @@ describe('(GHSA-gqpp-xgvh-9h7h) SQL Injection via dot-notation sub-key name in I
1403
// This causes a database error, NOT SQL injection. If injection succeeded,
1404
// the query would take >= 3 seconds due to pg_sleep.
1405
expect(elapsed).toBeLessThan(3000);
1406
- // Database error means no data modification at all
+ // Invalid JSONB cast fails the UPDATE, so the row is not modified
1407
const verify = await new Parse.Query('SubKeyTest').get(obj.id);
1408
expect(verify.get('stats')).toEqual({ counter: 0 });
1409
});
0 commit comments