Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to AFFiNE
-
DeliveryCraft malicious image file with XSS payload
-
ExploitUpload via Avatar endpoint
-
InstallPayload stored in database
-
C2Victim loads attacker profile
-
ExecuteScript executes in victim browser
-
ImpactSession hijacking or data exfiltration
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 | Exploitation requires: (1) authenticated access to AFFiNE (PR:L), (2) ability to upload files to the Avatar Upload Image endpoint, (3) victim user must view or load the attacker's avatar or profile (UI:P - user interaction mandatory), and (4) the application must render avatar data without proper output encoding. Non-default configurations or CSP headers may reduce exploitability. Unauthenticated attackers cannot exploit this vulnerability. |
| Impact | CVSS 2.0 (CVSSV4.0) with AV:N/AC:L/PR:L/UI:P reflects a low-severity vulnerability with network accessibility but significant mitigating factors: mandatory authentication (PR:L), required user interaction (UI:P), and limited integrity impact (VI:L - no confidentiality or availability impact). EPSS score of 0.03% (7th percentile) strongly reinforces this is a low-probability exploitation in the wild, suggesting this is primarily a proof-of-concept or targeted attack rather than widespread real-world threat. The presence of publicly available exploit code contradicts the minimal EPSS probability, indicating the vulnerability is known and exploitable but not actively leveraged at scale. Real-world risk is further constrained by the need for an attacker to first gain authentication and the requirement that victims interact with the malicious content. This is a genuine XSS flaw but in a low-exposure context - not a default-configuration remote code execution or mass-exploitation vector. |
| Exploit ScenarioDerived | An authenticated attacker uploads a specially crafted image file containing embedded JavaScript (e.g., an SVG image with <script> tags or an image file with XSS payload in metadata) to their avatar endpoint. When other users visit the attacker's profile or avatar is displayed in a shared workspace, the malicious script executes in their browsers, potentially stealing session cookies, modifying visible content, or redirecting users to phishing sites. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Stored cross-site scripting (XSS) in AFFiNE up to version 0.24.1 allows authenticated users to inject malicious scripts via the Avatar Upload Image endpoint, which are executed in the browsers of other users viewing the attacker's profile. The vulnerability requires user interaction (victim must view the malicious avatar) and authenticated access, resulting in limited but confirmed integrity impact. Public exploit code exists; vendor contact attempts yielded no response.
RemediationAI
Upgrade AFFiNE to version 0.25.0 or later, which should include sanitization of avatar image uploads. In the interim, implement strict Content Security Policy (CSP) headers to restrict script execution and mitigate XSS impact - specifically, set script-src to 'self' and avoid 'unsafe-inline'. Additionally, perform input validation on avatar uploads at the application layer to reject or sanitize embedded HTML/JavaScript, and consider storing avatars with proper MIME-type enforcement (image-only). If immediate patching is unavailable, restrict avatar upload functionality or disable the feature until a vendor update is released. Note that CSP mitigation does not eliminate the vulnerability but reduces exploitability.
Affected ProductsAI
AFFiNE versions up to and including 0.24.1 are affected. The vulnerability specifically impacts the Avatar Upload Image endpoint component. CPE data not provided in available references; affected versions inferred from CVE description range.
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
The vulnerability resides in AFFiNE's Avatar Upload Image endpoint, a component that processes user-supplied avatar image data. The root cause is improper input validation or output encoding (CWE-79: Improper Neutralization of Input During Web Page Generation), allowing attacker-controlled data to be stored and later rendered without sanitization in web browsers. This is a stored XSS variant rather than reflected XSS, meaning the malicious payload persists in the application's database and affects multiple victims when they load the attacker's profile or avatar display. The attack vector is network-based but requires prior authentication and user interaction from victims.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was identified in toeverything AFFiNE up to 0.24.1. This vulnerability affects unknown code of the component Avatar Upload Image Endpoint. Such manipulation leads to cross site scripting. The attack may be launched remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB