mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 10:22:14 +01:00
3ed7f2b751
This PR is based on 2.5.x branch. We fix the improper authorization by retrieving the annotation using id and user id. We also replace the ParamConverter used to get the requested Annotation on put and delete actions with an explicit call to AnnotationRepository in order to prevent a resource enumeration through response discrepancy. Fixes GHSA-mrqx-mjc4-vfh3 Co-authored-by: Jeremy Benoist <jeremy.benoist@gmail.com> Signed-off-by: Kevin Decherf <kevin@kdecherf.com> |
||
---|---|---|
.. | ||
Command | ||
Controller | ||
Entity | ||
Event | ||
fixtures | ||
Form/DataTransformer | ||
GuzzleSiteAuthenticator | ||
Helper | ||
Mock | ||
ParamConverter | ||
Tools | ||
Twig | ||
WallabagCoreTestCase.php |