# CVE-2020-8818: Origin Validation Error in Magento 2

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 33.6%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2020-02-25T01:20:39.000Z
- Modified: 2026-06-17T03:26:59.920Z
- Also known as: GHSA-qf6q-qfwp-vp44
- Weaknesses: CWE-346
- Assigned by: mitre

## Description

An issue was discovered in the CardGate Payments plugin through 2.0.30 for Magento 2. Lack of origin authentication in the IPN callback processing function in Controller/Payment/Callback.php allows an attacker to remotely replace critical plugin settings (merchant ID, secret key, etc.) and therefore bypass the payment process (e.g., spoof an order status by manually sending an IPN callback request with a valid signature but without real payment) and/or receive all of the subsequent payments.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cardgate/magento2 (Packagist): before 2.0.33
- cardgate cardgate_payments: up to 2.0.30
- adobe magento: 2.3.4

## Every score

- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:N`

## References

- <https://github.com/cardgate/magento2/blob/715979e54e1a335d78a8c5586f9e9987c3bf94fd/Controller/Payment/Callback.php#L88-L107> (exploit, third-party-advisory, web)
- <https://github.com/cardgate/magento2/issues/54> (exploit, third-party-advisory, web)
- <http://packetstormsecurity.com/files/156505/Magento-WooCommerce-CardGate-Payment-Gateway-2.0.30-Bypass.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8818> (advisory)
- <https://github.com/cardgate/magento2> (package)
- <https://github.com/cardgate/magento2/releases/tag/v2.0.33> (web)

## Sources

- CVE List: [CVE-2020-8818](https://www.cve.org/CVERecord?id=CVE-2020-8818), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-qf6q-qfwp-vp44](https://github.com/advisories/GHSA-qf6q-qfwp-vp44), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-8818](https://nvd.nist.gov/vuln/detail/CVE-2020-8818), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-8818 · Whole record: https://cve.day/CVE-2020-8818.json · Rebuilt by cve.day 2026-11-25T22:57:50.968Z
