Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

teamcapybara/capybara
master @ 15b5fdb
4
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
XPath Injection: 2 prior fixes. Scrutinize any change in this area.
lib/capybara/driver/rack_test_driver.rb: most-fixed (2 issues). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

XPath Injection: User-controlled option text is interpolated into an XPath expression without escaping, allowing injection of arbitrary XPath predicates.
Command Injection: Form field values are concatenated into a query string without URL-encoding, enabling injection of additional parameters or shell metacharacters.
XPath Injection: User-controlled page content is interpolated into an XPath contains() expression without sanitization, allowing XPath injection.