CVE-2026-11477: Hsweb authorization oauth2 Hsweb-framework Has An Open Redirect Vulnerability

LOW
Advisory Identifier: GHSA-fxr3-gvm4-m8vc
CVSS 4.3
CWE-601
Published
Advisory Summary

CVE-2026-11477 is a LOW (CVSS 4.3) hsweb-framework has an open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Hsweb authorization oauth2 libraries in the Maven ecosystem. The issue involves hsweb-framework has an open redirect issue. Remediation is available in the latest vendor maintenance releases.

CVE-2026-11477 at a Glance

CVE Identifier CVE-2026-11477
GHSA Identifier GHSA-fxr3-gvm4-m8vc
Severity LOW
CVSS v3.1 Base Score 4.3
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Hsweb authorization oauth2
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-11477

To remediate this vulnerability, upgrade all affected Hsweb authorization oauth2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.hswebframework.web:hsweb-authorization-oauth2 fixed: Latest secure release
<dependency>
    <groupId>org.hswebframework.web</groupId>
    <artifactId>hsweb-authorization-oauth2</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.hswebframework.web

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-11477, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.hswebframework.web

Analyze the terminal output to locate any version of Hsweb authorization oauth2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.hswebframework.web command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Hsweb authorization oauth2, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-11477 Affected Hsweb authorization oauth2 Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.hswebframework.web:hsweb-authorization-oauth2
Maven
≤ 5.0.1

References

Frequently Asked Questions

What is CVE-2026-11477?
CVE-2026-11477 is a security vulnerability in Hsweb authorization oauth2 involving hsweb-framework has an open redirect issue under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Hsweb authorization oauth2 versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.hswebframework.web:hsweb-authorization-oauth2.
What version fixes CVE-2026-11477?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is hsweb-authorization-oauth2 affected?
Yes, org.hswebframework.web:hsweb-authorization-oauth2 is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-11477?
CVE-2026-11477 has a CVSS v3.1 base score of 4.3 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-11477?
CVE-2026-11477 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check Maven dependencies for CVE-2026-11477?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.hswebframework.web'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fxr3-gvm4-m8vc",
  "modified" : "2026-07-28T20:55:00Z",
  "published" : "2026-06-08T03:47:24Z",
  "aliases" : [ "CVE-2026-11477" ],
  "summary" : "hsweb-framework has an open redirect issue",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.hswebframework.web:hsweb-authorization-oauth2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "5.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-11477"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hs-web/hsweb-framework/issues/354"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hs-web/hsweb-framework/pull/355"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hs-web/hsweb-framework/commit/c2882679a9125cea52678151af5ae213cbd52579"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/hs-web/hsweb-framework"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/cve/CVE-2026-11477"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/833962"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/369097"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/369097/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-28T20:55:00Z",
    "nvd_published_at" : "2026-06-08T02:16:23Z"
  }
}