Skip to main content

CVE-2026-58491: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in warp-tech warpgate

0
Critical
VulnerabilityCVE-2026-58491cvecve-2026-58491cwe-79
Published: 09/21/2026 (09/21/2026, 18:48:03 UTC)
Source: CVE Database V5
Vendor/Project: warp-tech
Product: warpgate

Description

CVE-2026-58491 is a critical cross-site scripting (XSS) vulnerability in warp-tech's Warpgate prior to version 0.25.5. The vulnerability arises from improper neutralization of an attacker-controlled 'next' parameter in the SSO API endpoints, allowing execution of arbitrary JavaScript in the authenticated Warpgate origin. This can lead to unauthorized access to session data and user or administrator APIs. Additionally, the same parameter enables an open redirect vulnerability. The issue is fixed in version 0.25.5.

CVSS v3.1

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Affected software

warp-tech

warpgate

Affected versions
<0.25.5
GitHub Actionsmore threats →ai
warp-tech/warpgate
pkg:github/warp-tech/warpgate
Affected versions
<0.25.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/21/2026, 19:16:38 UTC

Technical Analysis

Warpgate versions prior to 0.25.5 contain a cross-site scripting vulnerability due to improper HTML escaping of an attacker-controlled 'next' parameter in the /@warpgate/api/sso/providers/:name/start and /@warpgate/api/sso/return endpoints. When a victim follows a crafted link and completes single sign-on (SSO), malicious markup and JavaScript can execute within the authenticated Warpgate origin. This allows attackers to access session data and invoke user APIs, and if the victim is an administrator, also administrator APIs. The GET /@warpgate/api/sso/return endpoint also uses the unvalidated 'next' parameter as a redirect destination, resulting in an open redirect vulnerability. The vulnerability is addressed and fixed in Warpgate version 0.25.5.

Potential Impact

Successful exploitation allows execution of arbitrary JavaScript in the context of the authenticated Warpgate origin, leading to potential theft of session data and unauthorized actions via user APIs. If the victim is an administrator, attacker access extends to administrator APIs. The open redirect vulnerability can facilitate phishing or redirect users to malicious sites. The CVSS 3.1 score is 9.3 (critical), reflecting high impact on confidentiality and integrity with no availability impact.

Mitigation Recommendations

Upgrade Warpgate to version 0.25.5 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory. Patch status is confirmed fixed in 0.25.5.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-30T20:21:25.812Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ab17f3e55bf5e2cf554e7c3

Added to database: 09/21/2026, 19:02:22 UTC

Last enriched: 09/21/2026, 19:16:38 UTC

Last updated: 09/21/2026, 19:40:16 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses