Skip to content

Cross-Site Request Forgery (CSRF) in hswebframework.web:hsweb-commons

High severity GitHub Reviewed Published Jan 4, 2019 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

maven org.hswebframework.web:hsweb-commons (Maven)

Affected versions

<= 3.0.4

Patched versions

None

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.

References

Published to the GitHub Advisory Database Jan 4, 2019
Reviewed Jun 16, 2020
Last updated Jan 9, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS score

0.165%
(54th percentile)

Weaknesses

CVE ID

CVE-2018-20595

GHSA ID

GHSA-4rm3-4mq4-mfwr
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.