Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGuest uploads SVG via product File option
-
DeliveryFile stored under media/custom_options/ with original extension
-
ExploitAttacker sends media URL to victim
-
ExecutionVictim/admin opens link, server serves active document
-
PersistScript executes in store origin
-
ImpactAdministrator session exposed to attacker
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 | Three concrete preconditions, per the advisory: (1) a product must have a File custom option whose 'Allowed File Extensions' list is empty - the default for that field, which causes _validateUploadedFile() to accept svg/svgz/xhtml/xml despite only blocking exe; (2) the web server must actually serve media/custom_options/ as active content - true by default on nginx (which ignores .htaccess) and on Apache without AllowOverride, and worsened because pre-fix the protective .htaccess was written only on first upload and the bundled nginx samples did not deny this path; and (3) a victim must follow the attacker-supplied link (UI:R/UI:P). Limiting factors: the script runs only in the store origin, so admin-session exposure requires the admin panel to share that origin; exploitation needs victim interaction; and installs that set an explicit extension list or deny web access to media/custom_options/ are not affected. Authentication is not required to upload (PR:N / guest). |
| Impact | This is a genuine but low-urgency stored XSS (CWE-79, with an unrestricted-upload CWE-434 root cause). The strongest signals all point to modest real-world risk: the vuln.today Decision label is 'monitor', it is NOT in CISA KEV, no EPSS score was supplied, and no public exploit code was identified (the issue was reported privately via HackerOne). The input CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N, score 2.3) and the vendor's own CVSS 3.1 primary rating (AC:H/UI:R/S:C/C:L/I:L, 4.7) agree that exploitation is network-reachable and unauthenticated but gated by both a present attack requirement (AT:P) and user interaction (victim must open the link). Note an important nuance the vendor states explicitly: AC:H reflects two configuration preconditions, but on common stacks (nginx, or Apache without AllowOverride) with a File option that has an empty allowed-extension list, those conditions are met by DEFAULT, and the vendor re-scores that case as 6.1 (AC:L). So the 'high complexity' framing understates risk for a large subset of real deployments. Impact is capped at Low/Low (script execution in the store origin, potential admin session exposure only when the admin panel shares that origin) - this is not an RCE and there is no availability impact. Overall: a real priority to patch for exposed storefronts, but not an emergency; consistent with the 'monitor' label. |
| Exploit ScenarioDerived | An unauthenticated guest uploads an SVG/XHTML/XML file containing JavaScript through a product's File custom option whose 'Allowed File Extensions' list is empty, producing a stable URL under media/custom_options/. The attacker then sends that URL to a victim; on a server that serves that directory as an active document (nginx by default, or Apache without AllowOverride), opening the link runs the script in the store's origin, and if the admin panel shares that origin an administrator who clicks it exposes their session. No public exploit code was identified, though the attack is mechanically simple on a default-insecure stack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Stored cross-site scripting in OpenMage LTS (magento-lts) before 20.18.2 and in the 21.x pre-release line from 21.0.0-beta1 to before 21.0.0-beta3 lets unauthenticated guests upload SVG, SVGZ, XHTML or XML files through a product File custom option and have that file served as an active document from the store origin. The flaw only bites where a File option has an empty 'Allowed File Extensions' list (the default for that field) and the web server actually serves media/custom_options/ - true by default on nginx, which ignores .htaccess, and on Apache without AllowOverride. The vendor has released fixed versions 20.18.2, 20.19.0 and 21.0.0-beta3, the issue is not in CISA KEV, and no public exploit code was identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to OpenMage LTS 20.18.2 or 20.19.0 on the 20.x line, or 21.0.0-beta3 on the 21.x pre-release line (fix commits 5b6f985785, dd692b825b and 5896b2a60b; releases https://github.com/OpenMage/magento-lts/releases/tag/v20.18.2 and https://github.com/OpenMage/magento-lts/releases/tag/v20.19.0). Note the intended behavior change: File options with no allowed-extension list now refuse htm, html, svg, svgz, xhtml, xht, xml, xsl and xslt, so if a store legitimately accepts one of those types it must be listed explicitly on the option - and such options should only be used with the media directory not web-served. Where upgrading is not immediately possible, deny web access to media/custom_options/: on nginx add location /media/custom_options/ { deny all; } (nginx users must add this to their own server configuration, since the fix's dev/openmage/ nginx changes only cover the bundled sample configs), and on Apache either let media/custom_options/.htaccess take effect (AllowOverride enabled) or add an equivalent <Directory> deny; the trade-off is that custom-option upload URLs stop being directly reachable. Also set an explicit Allowed File Extensions list on every File custom option, which removes the empty-list condition the flaw depends on.
Affected VersionsENISA
Affected Packages
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
The root cause is an unrestricted-upload problem (CWE-434) that manifests as stored XSS (CWE-79). Mage_Catalog_Model_Product_Option_Type_File::_validateUploadedFile() only rejects extensions listed in general/file/protected_extensions and catalog/custom_options/forbidden_extensions, which defaulted to just 'exe'; when a File option's allowed-extension list is empty, .svg, .svgz, .xhtml, .xml and similar types pass validation and are stored with their original extension under media/custom_options/quote/<x>/<y>/<md5>.<ext>. Protection of that directory depended on media/custom_options/.htaccess, which before the fix was only written on the first upload; nginx ignores .htaccess entirely, Apache does so when AllowOverride is off, and the bundled sample nginx configs in dev/openmage/ denied /media/customer/, /media/downloadable/ and /media/import/ but not /media/custom_options/. On those stacks the browser receives the upload as image/svg+xml and executes embedded script in the store's origin. The vendor's CVSS:3.1 vector AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N (4.7 Medium) uses AC:H to reflect the two configuration preconditions; the advisory notes that an nginx or non-AllowOverride Apache install with a File option lacking an extension list meets them by default and would score roughly 6.1 (AC:L). The fix adds htm, html, svg, svgz, xhtml, xht, xml, xsl and xslt to the forbidden set only for options with no explicit list, so options that deliberately allow those types keep working; svg was intentionally not added to the global protected_extensions list to avoid breaking legitimate admin and extension uploads that cross no trust boundary. The vulnerability is rated 2.3 under CVSS 4.0 in the CVE record, and it does not by itself grant code execution on the server.
Know when Openmage 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:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Guest upload gives PR:N; victim must open the link so UI:R; two configuration preconditions justify AC:H; cross-origin script execution is S:C with limited C:L/I:L and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
OpenMage magento-lts before 20.18.2 and 21.0.0-beta1 before 21.0.0-beta3 contains a stored cross-site scripting vulnerability in Mage_Catalog_Model_Product_Option_Type_File, which accepts guest SVG, XHTML, or XML uploads through product File custom options with an empty allowed-extension list. Unauthenticated attackers can send the file URL under media/custom_options/ to victims, executing script in the store origin and exposing administrator sessions when the admin panel shares that origin.
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.
Magento LTS is the official OpenMage LTS codebase. Rated high severity (CVSS 7.5), this vulnerability is remotely exploi
Magento-lts is a long-term support alternative to Magento Community Edition (CE). Rated critical severity (CVSS 9.8), th
Cross-site request forgery in OpenMage LTS's OAuth authorization flow allows anyone holding valid OAuth consumer credent
Unauthenticated file upload in OpenMage LTS (magento-lts) before 20.18.2 and in the 21.0.0 beta line before 21.0.0-beta3
Account takeover affects OpenMage LTS releases before 20.18.2 and 21.0.0-beta pre-releases before 21.0.0-beta3 because c
Stored cross-site scripting in OpenMage LTS (the Magento 1 community fork) lets an unauthenticated guest plant script in
OAuth 1.0a callback allowlist bypass in OpenMage LTS (magento-lts) allows someone holding a leaked consumer key and secr
Remote code execution in OpenMage Magento LTS versions before 20.17.0 allows authenticated attackers to upload executabl
Stored cross-site scripting in OpenMage LTS (composer package openmage/magento-lts) before 20.18.2 and in the 21.0.0 bet
Remote code execution in OpenMage Magento LTS versions prior to 20.17.0 allows unauthenticated attackers to execute arbi
OpenMage LTS before versions 19.4.6 and 20.0.2 allows attackers to circumvent the `fromkey protection` in the Admin Inte
OpenMage LTS is an e-commerce platform. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
EUVD-2026-125074
GHSA-7h5v-m38x-m56w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB