Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged MISP user
-
DeliveryCreate attribute/proposal attachment with CRLF or quote in filename
-
ExploitStored filename corrupts Content-Disposition header
-
ExecutionVictim loads affected page, body renders inline as HTML
-
ImpactExecute JavaScript in app origin, hijack session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTTP response header sanitization
|
| Exploitation Conditions | Requires an authenticated user (PR:L) who can create or upload an attachment with an attacker-controlled filename - specifically via MISP attribute naming, proposal attachment naming, or restSearch export paths that reach CakeResponse::download(). The malicious filename must contain a C0 control character (CR or LF, triggering the stored-XSS-via-dropped-header vector) or a double-quote (triggering Content-Disposition parameter injection). Exploitation further requires a second authenticated user to view the page referencing the crafted attachment; this limiting factor is substantially relaxed when the download_attachments_on_load setting is enabled, because the download then fires automatically on page view with no deliberate click. Limiting factors for defenders: a valid account with attachment/attribute-creation rights is mandatory, the instance must be multi-user for a victim to exist, and impact is bounded to the application origin and the victim's privilege level. |
| Impact | The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:L/SA:N, base 8.4 High) describes a network-reachable, low-complexity, low-privilege stored XSS whose payload affects a subsequent system (the victim's browser on the application origin). That score is plausible for a CTI platform where authenticated users routinely view each other's attributes and proposals. However, several exploitation-probability signals are MISSING, which tempers urgency: no EPSS score was provided, the CVE is NOT in CISA KEV, and no public exploit code (POC) is indicated - exploitation status is therefore 'no public exploit identified at time of analysis.' The two injection vectors (CR/LF control characters that cause PHP to drop the Content-Disposition header so an .html body renders inline, and a double-quote that breaks the quoted-string to inject extra parameters) are concrete and credible given the vendor commit diff, which confirms the fix by stripping control characters. One nuance to verify: the input vector marks UI:N, but the attack inherently requires a second authenticated user to view the affected page before the payload fires, so this is not a drive-by remote-unauthenticated compromise. Net assessment: a genuine, patch-worthy stored-XSS in a shared multi-user platform, but a moderate operational priority rather than a mass-exploitation emergency - it requires an authenticated attacker account and a multi-tenant instance, and there is no evidence of active or automated exploitation. |
| Exploit ScenarioDerived | A low-privileged but authenticated MISP user uploads an attribute or proposal attachment whose filename embeds CR/LF characters or a double-quote. Because the filename is interpolated unsanitized into the Content-Disposition header, PHP silently drops the attachment disposition and the .html body is served inline on the application origin; when any other authenticated user (potentially an admin) later views that page - triggered automatically if download_attachments_on_load is enabled - the attacker's HTML/JavaScript executes in their session. No public POC is identified, but the vendor commit diff publicly documents the exact flaw and fix. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
Stored cross-site scripting in Sachertortephp (MISP's CakePHP-derived framework) lets an authenticated user who can control an attachment filename inject CR/LF or a double quote into the Content-Disposition header generated by CakeResponse::download(). A CR/LF causes PHP to drop the entire Content-Disposition header so the response body renders inline with its own Content-Type on the application origin, while a double quote permits injection of additional Content-Disposition parameters; the payload is stored via attribute downloads, proposal downloads, or restSearch exports and executes when another authenticated user views the affected page. No public exploit code has been identified at time of analysis; an upstream fix is available via vendor commits.
RemediationAI
Apply the upstream vendor fix available in commits afbc551aa6b8aedb87dfa1223a388e9a3178abfd and e2c80021729611922817a57d2317b2ffa7ed1439 (https://github.com/MISP/sachertortephp/commit/afbc551aa6b8aedb87dfa1223a388e9a3178abfd and https://github.com/MISP/sachertortephp/commit/e2c80021729611922817a57d2317b2ffa7ed1439). Upstream fix available (PR/commit); released patched version not independently confirmed, so confirm your build includes both changes. If patching is not immediately possible, restrict attachment/attribute upload and naming rights to trusted users, strip C0 control characters (\x00-\x1F and \x7F) from filenames before they reach CakeResponse::download(), escape or reject double quotes in filenames, and consider disabling download_attachments_on_load to remove the no-click trigger-though this does not fix the double-quote parameter-injection vector and may degrade usability. Network-level controls such as requiring authentication are insufficient alone because the attacker uses valid credentials.
Affected VersionsENISA
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
CWE-113 (Improper Neutralization of CRLF Sequences in HTTP Headers) is the root cause: CakeResponse::download() builds a Content-Disposition header by interpolating a caller-supplied filename into a quoted-string without sanitizing control characters or escaping embedded quotes. The affected component is identified by CPE cpe:2.3:a:misp:sachertortephp:*:*:*:*:*:*:*:* and resides in lib/Cake/Network/CakeResponse.php. Two injection paths exist: (1) C0 control characters such as CR or LF cause PHP to refuse to emit the header, silently removing the attachment disposition and causing the body to be served with its native Content-Type (e.g., text/html), which renders inline and yields stored XSS; (2) a double-quote terminates the quoted-string early, allowing an attacker to append arbitrary Content-Disposition parameters. All callers of download() are in scope, including MISP attribute downloads, proposal attachment downloads, and restSearch exports. The upstream patch strips control characters with preg_replace('/[\x00-\x1F\x7F]/', '', ...) and the second referenced commit addresses the header construction as well.
Know when PHP 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:L/SA:N
Authenticated low-priv user stores the payload (PR:L); a victim must load the affected page (UI:R); XSS executing in the victim's browser crosses a security authority (S:C) with limited confidentiality/integrity impact and no availability effect.
Primary rating from Vendor (CIRCL).
CVSS VectorVendor: CIRCL
DescriptionCVE.org
The CakeResponse::download() method in lib/Cake/Network/CakeResponse.php constructs a Content-Disposition header by directly interpolating a caller-supplied filename into a quoted-string value without sanitization. Two distinct injection vectors exist in the unpatched code. First, if the filename contains C0 control characters (CR or LF), PHP refuses to emit the entire Content-Disposition header, silently dropping the attachment disposition. The response body is then served with its own Content-Type (for example text/html for an .html attachment) and renders inline in the browser on the application origin, creating a stored cross-site scripting condition. The commit message notes this is reachable even when the download_attachments_on_load setting is enabled, meaning a victim merely needs to view a page that triggers the download. Second, a double-quote character in the filename terminates the quoted-string value early, permitting injection of additional Content-Disposition parameters. The affected code path covers all callers of CakeResponse::download(), including attribute downloads, proposal downloads, and restSearch exports. An authenticated user who can create or upload an attachment with a crafted filename (for example through MISP attribute naming or proposal attachment naming) can store the malicious filename. When any other authenticated user views the affected page, the unsanitized filename is reflected into the HTTP response header, resulting in header manipulation and potential execution of arbitrary HTML or JavaScript in the context of the application origin. The security impact is equivalent to a stored cross-site scripting vulnerability, allowing session hijacking, data exfiltration, and unauthorized actions on behalf of the victim.
Articles & Coverage 1
Executive ViewAI
MISP's Sachertortephp framework contains a stored script-injection flaw that can let a user with attachment-filename control cause malicious content to execute for other MISP users viewing affected attribute downloads, proposals, or restSearch exports. This puts threat intelligence analysts and the sensitive data they handle at risk of session compromise, credential theft, or unauthorized access to shared intelligence. Patch available per vendor advisory, and no public exploit identified at time of analysis; leadership should prioritize remediation because the persisted payload can continue affecting users across the organization until fixed.
Apply vendor patch.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-93657
GHSA-fr53-q3jp-9vwv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB