Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-36012

Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by a business logic error in the placeOrder graphql mutation. An authenticated attacker can leverage this vulnerability to altar the price of an item.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-36012
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:29 UTC · Revision 1

Source evidence

CVE-2021-36012

core-osv · Original source

Published 1 Sept 2021, 15:15 UTC

Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by a business logic error in the placeOrder graphql mutation. An authenticated attacker can leverage this vulnerability to altar the price of an item.

osv:CVE-2021-36012
Complete source record
{
  "id": "5aee38adcfd4bc00f288d8fb0cb5235002c198d598c635d545ee7ad80002c50b",
  "url": "https://osv.dev/vulnerability/CVE-2021-36012",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-36012",
    "summary": "Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by a business logic error in the placeOrder graphql mutation. An authenticated attacker can leverage this vulnerability to altar the price of an item.",
    "evidence": "osv:CVE-2021-36012",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-36012",
      "aliases": [
        "CVE-2021-36012",
        "GHSA-3f97-7pgv-gmgr"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/magento/magento2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f4c1d7526f05bdfb1327b0701cc345f94aadcaed"
                },
                {
                  "last_affected": "44a7b6079bcac5ba92040b16f4f74024b4f34d09"
                },
                {
                  "introduced": "6729b6e01368248abc33300208eb292c95050203"
                },
                {
                  "last_affected": "33242e4b19cf207d7b73f7791ef894b48bb41f8a"
                },
                {
                  "introduced": "1bd5cb8c065e44779526c0b044ce19b884707695"
                },
                {
                  "last_affected": "1bd5cb8c065e44779526c0b044ce19b884707695"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:adobe:magento_open_source:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "last_affected": "2.3.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:magento_open_source:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.0"
                      },
                      {
                        "last_affected": "2.4.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:magento_open_source:2.4.2:p1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.2-p1"
                      },
                      {
                        "last_affected": "2.4.2-p1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.4.2-p1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36012.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:40.279674566Z",
      "provider": "osv",
      "references": [
        "https://helpx.adobe.com/security/products/magento/apsb21-64.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:adobe:adobe_commerce:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "adobe:adobe_commerce",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.3.0"
                  },
                  {
                    "last_affected": "2.3.7"
                  },
                  {
                    "introduced": "2.4.0"
                  },
                  {
                    "last_affected": "2.4.2"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:adobe:adobe_commerce:2.4.2:p1:*:*:*:*:*:*"
            ],
            "vendor_product": "adobe:adobe_commerce",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.4.2-p1"
                  },
                  {
                    "last_affected": "2.4.2-p1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-36012",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 434875,
  "published_at": "2021-09-01T15:15:09.03+00:00"
}