Flight Log / JonMarkGo-AI-Testing/juice-shop #171
Fix NoSQL injection vulnerability in likeProductReviews.ts — a Devin (Cognition) bot flight
The Devin bot (Cognition) opened this pull request in JonMarkGo-AI-Testing/juice-shop on Mar 20, 2025; closed.
- Lines
- —
- Files
- —
- Commits
- —
- Reviews
- —
- To merge
- —
From the pull request description
## Description This PR fixes a security vulnerability in the `routes/likeProductReviews.ts` file where database queries were directly constructed from user-controlled data without proper validation. ### Changes - Added input validation to ensure the id parameter is a string before using it in datab…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Read next
Cite this flight: AgentRiders Flight Log, JonMarkGo-AI-Testing/juice-shop#171, record updated Nov 3, 2026, https://agentriders.com/logs/JonMarkGo-AI-Testing/juice-shop/171/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.