Description
A vulnerability was detected in hs-web hsweb-framework up to 5.0.1. This affects the function OAuth2Client of the file hsweb-authorization/hsweb-authorization-oauth2/src/main/java/org/hswebframework/web/oauth2/server/OAuth2Client.java of the component OAuth2 Client. The manipulation results in open redirect. The attack can be executed remotely. The exploit is now public and may be used. The patch is identified as c2882679a9125cea52678151af5ae213cbd52579. Applying a patch is advised to resolve this issue.
Published: 2026-06-08
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the OAuth2Client component of the hsweb-framework allows a remote attacker to supply a malicious redirect URI, causing the application to forward users to arbitrary external sites. This open redirect vulnerability can be exploited for phishing attacks, credential harvesting, or malicious content delivery, potentially compromising user trust and confidentiality. The impact is limited to redirect flows but can be leveraged as a vector for broader social engineering attacks.

Affected Systems

The vulnerability affects hsweb-framework versions up to and including 5.0.1. Users running any of these releases should verify the installed version and determine whether an upgrade to the patched release is available.

Risk and Exploitability

The CVSS score of 5.3 classifies the issue as moderate severity. EPSS data is not available, and the vulnerability is not yet listed in the CISA KEV catalog. The attack can be performed remotely by crafting a malicious redirect parameter in the OAuth2 flow; public exploitation code has been identified, making the threat real and actionable. The risk is therefore moderate but present, especially in environments where the application trusts users' redirect URLs without strict validation.

Generated by OpenCVE AI on June 8, 2026 at 03:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update that hsweb-framework instance to a version that includes commit c2882679a9125cea52678151af5ae213cbd52579 or later, which removes the open redirect capability.
  • If an immediate upgrade is not possible, disable or block the OAuth2 redirect endpoint so that users cannot submit arbitrary redirect URIs.
  • Implement server‑side validation of redirect URLs so that only whitelisted, trusted domains are accepted, following best practices for CWE‑601 mitigation.

Generated by OpenCVE AI on June 8, 2026 at 03:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 08 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 08 Jun 2026 02:00:00 +0000

Type Values Removed Values Added
Description A vulnerability was detected in hs-web hsweb-framework up to 5.0.1. This affects the function OAuth2Client of the file hsweb-authorization/hsweb-authorization-oauth2/src/main/java/org/hswebframework/web/oauth2/server/OAuth2Client.java of the component OAuth2 Client. The manipulation results in open redirect. The attack can be executed remotely. The exploit is now public and may be used. The patch is identified as c2882679a9125cea52678151af5ae213cbd52579. Applying a patch is advised to resolve this issue.
Title hs-web hsweb-framework OAuth2 Client OAuth2Client.java OAuth2Client redirect
First Time appeared Hs-web
Hs-web hsweb-framework
Weaknesses CWE-601
CPEs cpe:2.3:a:hs-web:hsweb-framework:*:*:*:*:*:*:*:*
Vendors & Products Hs-web
Hs-web hsweb-framework
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Hs-web Hsweb-framework
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-06-08T13:42:42.500Z

Reserved: 2026-06-07T09:40:18.483Z

Link: CVE-2026-11477

cve-icon Vulnrichment

Updated: 2026-06-08T13:42:38.384Z

cve-icon NVD

Status : Deferred

Published: 2026-06-08T02:16:23.903

Modified: 2026-06-08T14:57:14.757

Link: CVE-2026-11477

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-08T03:30:16Z

Weaknesses