Skip to content

Implement NoSQL injection protection across controllers#23

Merged
hrtechplus merged 3 commits into
mainfrom
hasindu-fix-NoSQL-70
Sep 24, 2025
Merged

Implement NoSQL injection protection across controllers#23
hrtechplus merged 3 commits into
mainfrom
hasindu-fix-NoSQL-70

Conversation

@hrtechplus

Copy link
Copy Markdown
Contributor

Add validation for ObjectId format in various controllers to prevent NoSQL injection vulnerabilities. This enhances the security of the application by ensuring that only valid IDs are processed.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Comment thread vendorapp/backend/controllers/coupleController.js Dismissed
Comment thread vendorapp/backend/controllers/coupleController.js Dismissed
Comment thread vendorapp/backend/controllers/coupleController.js Dismissed
@hrtechplus
hrtechplus merged commit d4566c6 into main Sep 24, 2025
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants