GitHub Advisory Database
GHSA-4rm3-4mq4-mfwr
Cross-Site Request Forgery (CSRF) in hswebframework.web:hsweb-commons
Details
A CSRF issue was discovered in web/authorization/oauth2/controller/OAuth2ClientController.java in hsweb 3.0.4 because the state parameter in the request is not compared with the state parameter in the session after user authentication is successful.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.hswebframework.web:hsweb-commons | All versions up to and including 3.0.4 |