Skip to main content

Seafile EUVDEUVD-2025-201154

| CVE-2025-41080 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-04 cve-coordination@incibe.es
5.1
CVSS 4.0 · Vendor: incibe
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege Seafile user
  2. Exploit
    Store XSS payload via POST 'p' to /api/v2.1/repos/{repo_id}/file/
  3. Execution
    Victim opens affected file in browser
  4. Impact
    Script executes in victim's session context

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

Requires an authenticated account with permission to create or edit files in a Seafile repository (PR:L), allowing the attacker to store a malicious payload via the POST parameter 'p' at '/api/v2.1/repos/{repo_id}/file/'. Exploitation further depends on a second user opening/viewing the poisoned file in their browser (UI:P / victim interaction), so it cannot fire unauthenticated or without a victim. These factors - the need for valid credentials with write access plus a human viewing the stored content - meaningfully limit realistic exploitation despite the network attack vector.

Impact

This is a medium-severity stored XSS (CVSS 4.0 base 5.1, CWE-79) with signals that consistently point to LOW real-world priority. EPSS is 0.04% (13th percentile), it is NOT on CISA KEV, and no public exploit code is identified in the provided data - exploitation status is 'no public exploit identified at time of analysis.' The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N) confirms the attacker needs at least low-level authenticated access (PR:L) and requires victim interaction (UI:P), and the vulnerable system itself suffers no direct confidentiality/integrity/availability loss - only the subsequent (victim browser) system takes low confidentiality and integrity impact (SC:L/SI:L). All signals agree this is a genuine but modest issue rather than a high-urgency flaw. NOTE A CONFLICT: the input Tags include 'RCE', but the description only describes JavaScript execution in the victim's browser via XSS - this is NOT server-side remote code execution, and the CVSS impact metrics (VC:N/VI:N/VA:N on the vulnerable system) corroborate that no code execution occurs on the Seafile host. Also note a version discrepancy: the description states v12.0.10 while the EUVD-listed affected version is 12.0.14 - verify the exact affected range with the vendor.

Exploit ScenarioDerived

An authenticated low-privileged Seafile user uploads or edits a file through the '/api/v2.1/repos/{repo_id}/file/' endpoint, injecting a malicious payload via the POST parameter 'p'. When another user (e.g., a collaborator or administrator sharing the repository) views the affected file in their browser, the stored script executes in their session context. No public exploit code is identified at time of analysis, and the attack requires both prior authenticated access and victim interaction.

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

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

Alert me

AnalysisAIv2 – Oct 18, 2026

Stored cross-site scripting in Seafile allows an authenticated user with repository write access to persist a malicious payload via the POST parameter 'p' at '/api/v2.1/repos/{repo_id}/file/', which then executes in another user's browser when the poisoned file is viewed. The medium-severity issue (CVSS 4.0 base 5.1; assessed CVSS 3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) requires victim interaction and valid write credentials, and no public exploit identified at time of analysis; EPSS is 0.04% (13th percentile), supporting a low real-world priority.

Earlier versions of this analysis (1)
v1 Mar 15, 2026 - 16:35 CVSS 6.1

RemediationAI

Apply the vendor-released fixed Seafile build; the provided input does not identify an exact patched version, so confirm the fixed version in the INCIPE-CERT advisory at https://www.incibe.es/en/incibe-cert/notices/aviso/multiple-vulnerabilities-seafile before upgrading. Until the fixed build is deployed, restrict repository write access to trusted users, which reduces exposure but limits collaboration; enforce a strict Content-Security-Policy on the Seafile web interface, accepting possible breakage of inline scripts or legacy UI features; sanitize or disable HTML/SVG preview rendering for user-uploaded files, which may reduce preview functionality; and review stored repository content for injected payloads. These controls reduce stored-XSS risk but do not replace the vendor fix.

Affected VersionsENISA

Seafile 12.0.14

Affected Packages

euvd seafile no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

Seafile is a file synchronization and sharing platform, and this finding is a stored XSS (CWE-79) in its repository file API rather than a server-side code-execution flaw. The POST parameter 'p' at '/api/v2.1/repos/{repo_id}/file/' accepts attacker-controlled content that is persisted and later rendered without adequate output encoding or sanitization, so script runs in the browser context of a user who opens the file. The supplied CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:L/UI:P/... and the independent CVSS 3.1 assessment is AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N; both reflect authenticated write access plus victim interaction. CPE data uses a wildcard for seafile:seafile, the CVE description names v12.0.10, and EUVD lists 12.0.14 as affected, so the precise version range is unresolved. Source tags include XSS and RCE, but the CVE description and authoritative assessment classify this as stored XSS, not remote code execution on the server.

Know when Seafile 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 (incibe) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

Authenticated write access needed (PR:L) and the victim must view the file (UI:R); stored XSS executes outside the vulnerable component so S:C, with low browser-side confidentiality/integrity impact and no availability loss.

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

Primary rating from Vendor (incibe).

CVSS VectorVendor: incibe

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Oct 18, 2026 - 18:22 NVD
6.1 (MEDIUM) 5.1 (MEDIUM)
CVE Published
Dec 04, 2025 - 12:16 nvd
MEDIUM 6.1

DescriptionCVE.org

A stored Cross-Site Scripting (XSS) vulnerability has been found in Seafile v12.0.10. This vulnerability allows an attacker to execute arbitrary code in the victim's browser by storing malicious payloads with POST parámetro 'p' in '/api/v2.1/repos/{repo_id}/file/'.

Executive ViewAI

Why It Matters

Organizations using Seafile should be aware of moderate risk from CVE-2025-41080, a cross-site scripting vulnerability rated CVSS 6.1. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Prevalence
Medium
self-hosted open-source file sync/share platform, moderate adoption
Data Quality
5 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.0%
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
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Low

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2020-16143 HIGH POC
7.8 Jul 29

The seafile-client client 7.0.8 for Seafile is vulnerable to DLL hijacking because it loads exchndl.dll from the current

CVE-2023-28874 MEDIUM POC
6.1 Dec 09

The next parameter in the /accounts/login endpoint of Seafile 9.0.6 allows attackers to redirect users to arbitrary site

CVE-2023-28873 MEDIUM POC
5.4 Dec 09

An XSS issue in wiki and discussion pages in Seafile 9.0.6 allows attackers to inject JavaScript into the Markdown edito

CVE-2026-129167 CRITICAL
9.2 Nov 13

Absolute path traversal in Seafile's SeaDoc Converter (2.0.4 through 2.0.10 and 3.0.0 through 3.0.7) lets an unauthentic

CVE-2019-8919 HIGH
7.5 Feb 18

The seadroid (aka Seafile Android Client) application through 2.2.13 for Android always uses the same Initialization Vec

CVE-2025-65516 MEDIUM
6.1 Dec 04

A stored cross-site scripting (XSS) vulnerability was discovered in Seafile Community Edition prior to version 13.0.12.

CVE-2021-43820 MEDIUM
5.9 Dec 14

Seafile is an open source cloud storage system. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploit

CVE-2021-30146 MEDIUM
5.4 Apr 06

Seafile 7.0.5 (2019) allows Persistent XSS via the "share of library functionality.". Rated medium severity (CVSS 5.4),

CVE-2025-41079 MEDIUM
5.1 Dec 04

Stored cross-site scripting in Seafile 12.0.10 lets an authenticated user persist a malicious value in the 'name' parame

CVE-2026-125362 LOW
2.3 Nov 10

Seahub through 14.0.10 generates auto-created share-link passwords with Python's non-cryptographic random.choices() from

Vendor StatusVendor

Debian

Bug #865830
seafile-server
Release Status Fixed Version Urgency
open - -

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