Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-28683

CVE-2026-28683: Forceu Gokapi XSS Vulnerability

CVE-2026-28683 is a stored cross-site scripting flaw in Forceu Gokapi that allows authenticated attackers to execute malicious scripts via SVG uploads. This article covers technical details, affected versions, and patches.

Published: March 13, 2026

CVE-2026-28683 Overview

CVE-2026-28683 is a stored Cross-Site Scripting (XSS) vulnerability in Gokapi, a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3, a malicious authenticated user can upload an SVG file containing malicious JavaScript and create a hotlink for it, resulting in stored XSS attacks against other users who access the hotlinked content.

Critical Impact

Authenticated attackers can execute arbitrary JavaScript in the context of victim browsers, potentially stealing session cookies, performing actions on behalf of users, or delivering further attacks through the trusted Gokapi application.

Affected Products

  • Forceu Gokapi versions prior to 2.2.3

Discovery Timeline

  • 2026-03-06 - CVE CVE-2026-28683 published to NVD
  • 2026-03-09 - Last updated in NVD database

Technical Details for CVE-2026-28683

Vulnerability Analysis

This stored XSS vulnerability arises from insufficient sanitization of SVG file content when uploaded to the Gokapi file sharing server. SVG files, being XML-based, can contain embedded JavaScript code within elements such as <script> tags or event handlers like onload, onclick, and similar attributes.

When an authenticated user uploads a specially crafted SVG file and generates a hotlink for sharing, the server serves the SVG file directly to visitors without properly sanitizing or neutralizing the embedded malicious scripts. This allows the attacker's JavaScript to execute in the browser context of any user who views the hotlinked SVG, making it a persistent (stored) XSS attack.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). The attack requires network access and low privileges (an authenticated account), but successful exploitation can impact both confidentiality and integrity of the victim's session across the changed security scope.

Root Cause

The root cause of this vulnerability is the failure to properly sanitize SVG file content before serving it to users via hotlinks. SVG files are inherently capable of containing executable JavaScript, and the Gokapi application prior to version 2.2.3 did not implement adequate content filtering or Content-Security-Policy headers to prevent script execution when serving user-uploaded SVG files.

Attack Vector

The attack requires network access and targets authenticated functionality. An attacker must first authenticate to the Gokapi server, then upload a malicious SVG file containing embedded JavaScript payloads. After creating a hotlink for the uploaded file, the attacker shares this link with potential victims. When victims access the hotlink, their browsers render the SVG and execute the embedded malicious scripts.

The SVG file would typically contain JavaScript within <script> elements or inline event handlers. When served directly by the Gokapi server without sanitization, the browser interprets and executes this code in the context of the application's origin, granting the attacker access to session data, cookies, and the ability to perform actions as the victim.

Detection Methods for CVE-2026-28683

Indicators of Compromise

  • Unusual SVG file uploads containing <script> tags or JavaScript event handlers
  • Hotlink creation activity for SVG files from recently registered or suspicious accounts
  • Client-side reports of unexpected JavaScript execution or browser security warnings when accessing shared files
  • Web application firewall logs showing blocked XSS patterns in uploaded file content

Detection Strategies

  • Implement file content inspection rules to detect JavaScript patterns within uploaded SVG files
  • Monitor web server access logs for requests to SVG hotlinks, particularly from IP addresses different than the uploader
  • Deploy browser-based XSS detection mechanisms such as Content-Security-Policy violation reporting
  • Review uploaded file metadata and content for known XSS payload signatures

Monitoring Recommendations

  • Enable detailed logging for file upload and hotlink generation events in Gokapi
  • Configure web application firewall rules to inspect uploaded file content for malicious scripts
  • Implement real-time alerting for SVG uploads containing script-related elements
  • Monitor user session activity for anomalies that could indicate session hijacking following XSS exploitation

How to Mitigate CVE-2026-28683

Immediate Actions Required

  • Upgrade Gokapi to version 2.2.3 or later immediately to address this vulnerability
  • Audit existing uploaded SVG files for potentially malicious content
  • Temporarily disable SVG file uploads or hotlink functionality if immediate patching is not possible
  • Review access logs for evidence of exploitation attempts

Patch Information

The vulnerability has been patched in Gokapi version 2.2.3. Organizations running affected versions should upgrade immediately. Detailed patch information is available in the GitHub Release v2.2.3. Additional security information can be found in the GitHub Security Advisory GHSA-3c22-5j5m-4jq7.

Workarounds

  • Configure web server rules to serve SVG files with Content-Disposition: attachment headers to force download instead of inline rendering
  • Implement Content-Security-Policy headers that restrict script execution on pages serving user-uploaded content
  • Block or restrict SVG file uploads at the application or web server level until the patch can be applied
  • Use a reverse proxy to strip potentially dangerous elements from SVG files before serving them to users
bash
# Example nginx configuration to force SVG downloads instead of inline rendering
location ~ \.svg$ {
    add_header Content-Disposition "attachment";
    add_header X-Content-Type-Options "nosniff";
    add_header Content-Security-Policy "default-src 'none'; script-src 'none'";
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechForceu Gokapi

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Release v2.2.3
  • Vendor Resources
  • GitHub Security Advisory GHSA-3c22-5j5m-4jq7
  • Related CVEs
  • CVE-2026-30943: Forceu Gokapi Auth Bypass Vulnerability

  • CVE-2026-30955: Forceu Gokapi DOS Vulnerability

  • CVE-2026-30961: Forceu Gokapi Auth Bypass Vulnerability

  • CVE-2026-29084: Forceu Gokapi CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English