Apache Wicket vulnerable to CSRF attacks
High severity
GitHub Reviewed
Published
May 17, 2022
to the GitHub Advisory Database
•
Updated Apr 23, 2025
Package
Affected versions
>= 6.20.0, < 6.25.0
>= 7.0.0, < 7.5.0
>= 8.0.0-M1, < 8.0.0-M2
Patched versions
6.25.0
7.5.0
8.0.0-M2
Description
Published by the National Vulnerability Database
Oct 3, 2017
Published to the GitHub Advisory Database
May 17, 2022
Reviewed
Apr 23, 2025
Last updated
Apr 23, 2025
Apache Wicket 6.x before 6.25.0, 7.x before 7.5.0, and 8.0.0-M1 provide a CSRF prevention measure that fails to discover some cross origin requests. The mitigation is to not only check the Origin HTTP header, but also take the Referer HTTP header into account when no Origin was provided. Furthermore, not all Wicket server side targets were subjected to the CSRF check. This was also fixed.
References