Description
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.
Remediation
References
https://github.com/hs-web/hsweb-framework/commit/40929e9b0d336a26281a5ed2e0e721d54dd8d2f2
https://github.com/hs-web/hsweb-framework/issues/107
Related Vulnerabilities
CVE-2014-7810 Vulnerability in maven package org.apache.tomcat:tomcat-jasper
CVE-2022-3952 Vulnerability in maven package com.manydesigns:portofino-microservice-launcher
CVE-2021-22112 Vulnerability in maven package org.springframework.security:spring-security-core
CVE-2020-15215 Vulnerability in maven package org.webjars.npm:electron
CVE-2022-43416 Vulnerability in maven package org.jenkins-ci.plugins:katalon