Security context

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

sonata-project/sonataadminbundle
4.x @ 3fbcc80
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
src/Form/FormErrorIteratorToConstraintViolationList.php: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

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

Auth Bypass: The application failed to pass the specific object instance to authorization checks during administrative form delete operations, leading to privilege escalation or unauthorized mutations. Developers must ensure that 'hasAccess' checks always receive the underlying domain object rather than just the action name.
Information Disclosure: Validation error handling routinely exposed internal application state, error templates, and parameters through constraint violations. Ensuring that 'ConstraintViolation' conversions sanitize or strip raw parameters is essential to prevent leakage of sensitive system structure.