Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.hswebframework.web/hsweb-commons
  4. ›
  5. CVE-2018-20595

CVE-2018-20595: Cross-Site Request Forgery (CSRF)

January 4, 2019 (updated September 1, 2021)

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.

References

  • github.com/advisories/GHSA-4rm3-4mq4-mfwr
  • github.com/hs-web/hsweb-framework/commit/40929e9b0d336a26281a5ed2e0e721d54dd8d2f2
  • github.com/hs-web/hsweb-framework/issues/107
  • nvd.nist.gov/vuln/detail/CVE-2018-20595

Code Behaviors & Features

Detect and mitigate CVE-2018-20595 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.0.4

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

maven/org.hswebframework.web/hsweb-commons/CVE-2018-20595.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:27 +0000.