Sceawere

Vulnerability Detail

CVE-2026-74800UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

SiYuan Asset Stored XSS

Vulnerability Metadata

Severity
Critical
Score / CVSS
9
Creation Date
2h ago
Vendor
siyuan-note
Product
siyuan
Attack Type
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Attack Complexity
LOW

Narrative and Response

Description

SiYuan before v3.7.4 fails to set Content-Disposition and X-Content-Type-Options headers when serving arbitrary file assets, allowing stored cross-site scripting attacks. Authenticated attackers can upload HTML files as assets and execute scripts with full kernel API access when the workspace owner opens the asset link.

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "9.0",
  "pubDate": "2026-08-17T11:16:40.187Z",
  "pubdate": "2026-08-17T11:16:40.187Z",
  "executiveSummary": "SiYuan before v3.7.4 suffers from a stored cross-site scripting (XSS) vulnerability arising from the improper handling of arbitrary file asset serving. Specifically, the application fails to enforce security-critical HTTP response headers, namely Content-Disposition and X-Content-Type-Options, when transmitting uploaded asset files to clients.\nThis security oversight allows authenticated attackers to upload malicious HTML files disguised or handled as benign assets within the application. When a workspace owner accesses the asset link, the browser renders the HTML context directly, executing arbitrary JavaScript payloads in the security context of the victim's session.\nThe impact of successful exploitation is critical, as the executing script gains full kernel API access within the application environment. This grants the attacker comprehensive control over the victim's workspace and underlying system interactions, posing significant confidentiality, integrity, and availability risks.\nExploitation requires authentication to the platform to perform the initial file upload, followed by user interaction where the workspace owner must be induced to open the malicious asset link. Organizations utilizing affected instances face severe operational risk due to the breadth of privileges accessible via the application API upon successful payload execution.",
  "technicalDetails": "The vulnerability resides in the asset-serving mechanism of SiYuan prior to version v3.7.4, which processes and delivers user-uploaded files without enforcing robust MIME-type sniffing protections or forcing safe content delivery behaviors.\nRoot Cause: The lack of the X-Content-Type-Options response header (typically set to nosniff) allows web browsers to perform MIME-type sniffing on served assets, potentially interpreting non-executable or generic data types as active content such as text/html. Furthermore, the absence of a restrictive Content-Disposition header prevents the browser from forcing a download prompt for potentially dangerous file types, causing inline rendering of untrusted markup.\nAttack Flow: 1. An authenticated attacker leverages standard upload functionalities to store a malicious HTML file containing crafted JavaScript payloads within the SiYuan asset repository. 2. The attacker induces the workspace owner to click or navigate to the specific URL pointing to the uploaded asset. 3. The SiYuan server delivers the asset file to the victim's browser without setting X-Content-Type-Options or Content-Disposition: attachment. 4. The victim's browser interprets the file as HTML and executes the embedded JavaScript payload within the origin context of the application.\nPrivilege Requirements and Exposure: Exploitation requires an authenticated attacker capable of uploading files to the workspace. Although authentication is required, standard users or compromised low-privilege accounts can execute the attack vector. The network exposure encompasses any deployment where users interact with uploaded workspace assets.\nPayload Behavior and Impact: Upon execution within the victim browser session, the malicious script leverages full kernel API access exposed by the application. This post-exploitation capability allows the attacker to interact with internal system primitives, manipulate workspace data, exfiltrate sensitive information, or perform actions with the administrative privileges of the workspace owner."
}
CVE-2026-74800: SiYuan Asset Stored XSS (CRITICAL Severity, CVSS: 9.0) - Sceawere