CVE-2026-11477

hs-web hsweb-framework OAuth2 Client OAuth2Client.java OAuth2Client redirect

Published Jun 8, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-fxr3-gvm4-m8vc hsweb-framework has an open redirect issue
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jun 8, 2026, 1:42 PM
Reserved
Jun 7, 2026, 9:40 AM
Status
Deferred
Published
Jun 8, 2026, 2:16 AM
Modified
Jul 23, 2026, 7:10 AM