Search criteria

2 vulnerabilities found for Surecart by brainstormforce

CVE-2026-9065 (GCVE-0-2026-9065)

Vulnerability from nvd – Published: 2026-05-20 08:23 – Updated: 2026-05-20 14:19
VLAI?
Title
Surecart - SQL Injection
Summary
SureCart version prior to 4.2.1 are vulnerable to authenticated SQL injection via multiple parameters ('model_name', 'model_id', 'integration_id', 'provider') on the REST API endpoint '/surecart/v1/integrations/{id}'. The root cause is a flawed escaping bypass in the query builder ('wp-query-builder'). Values passed to the 'where()' method are only sanitized via '$wpdb->prepare()' when they do **not** contain a dot ('.') or the WordPress table prefix ('wp_'). By including a dot anywhere in the payload, an attacker completely bypasses the escaping logic and injects arbitrary SQL into the 'WHERE' clause, allowing full UNION-based extraction of the database.
CWE
  • CWE-89 - Improper neutralization of special elements used in an SQL command ('SQL injection')
Assigner
Impacted products
Vendor Product Version
brainstormforce Surecart Affected: O , < 4.2.1 (custom)
Create a notification for this product.
Date Public ?
2026-05-20 08:23
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-9065",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-05-20T13:57:12.920758Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-05-20T14:19:07.262Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://wordpress.org/plugins/surecart",
          "defaultStatus": "unaffected",
          "product": "Surecart",
          "vendor": "brainstormforce",
          "versions": [
            {
              "lessThan": "4.2.1",
              "status": "affected",
              "version": "O",
              "versionType": "custom"
            }
          ]
        }
      ],
      "datePublic": "2026-05-20T08:23:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eSureCart version prior to 4.2.1 are vulnerable to authenticated SQL injection via multiple parameters (\u0027model_name\u0027, \u0027model_id\u0027, \u0027integration_id\u0027, \u0027provider\u0027) on the REST API endpoint \u0027/surecart/v1/integrations/{id}\u0027.\u003cbr\u003e\u003cbr\u003eThe root cause is a flawed escaping bypass in the query builder (\u0027wp-query-builder\u0027). Values passed to the \u0027where()\u0027 method are only sanitized via \u0027$wpdb-\u0026gt;prepare()\u0027 when they do **not** contain a dot (\u0027.\u0027) or the WordPress table prefix (\u0027wp_\u0027). By including a dot anywhere in the payload, an attacker completely bypasses the escaping logic and injects arbitrary SQL into the \u0027WHERE\u0027 clause, allowing full UNION-based extraction of the database.\u003c/p\u003e"
            }
          ],
          "value": "SureCart version prior to 4.2.1 are vulnerable to authenticated SQL injection via multiple parameters (\u0027model_name\u0027, \u0027model_id\u0027, \u0027integration_id\u0027, \u0027provider\u0027) on the REST API endpoint \u0027/surecart/v1/integrations/{id}\u0027.\n\nThe root cause is a flawed escaping bypass in the query builder (\u0027wp-query-builder\u0027). Values passed to the \u0027where()\u0027 method are only sanitized via \u0027$wpdb-\u003eprepare()\u0027 when they do **not** contain a dot (\u0027.\u0027) or the WordPress table prefix (\u0027wp_\u0027). By including a dot anywhere in the payload, an attacker completely bypasses the escaping logic and injects arbitrary SQL into the \u0027WHERE\u0027 clause, allowing full UNION-based extraction of the database."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 9.3,
            "baseSeverity": "CRITICAL",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "HIGH",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "HIGH",
            "subConfidentialityImpact": "HIGH",
            "subIntegrityImpact": "HIGH",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "HIGH",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-89",
              "description": "CWE-89 Improper neutralization of special elements used in an SQL command (\u0027SQL injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-20T08:23:55.218Z",
        "orgId": "5ac1ecc2-367a-4d16-a0b2-35d495ddd0be",
        "shortName": "tenable"
      },
      "references": [
        {
          "url": "https://www.tenable.com/security/research/tra-2026-43"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "Surecart - SQL Injection",
      "x_generator": {
        "engine": "Vulnogram 1.0.2"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "5ac1ecc2-367a-4d16-a0b2-35d495ddd0be",
    "assignerShortName": "tenable",
    "cveId": "CVE-2026-9065",
    "datePublished": "2026-05-20T08:23:55.218Z",
    "dateReserved": "2026-05-20T08:19:43.782Z",
    "dateUpdated": "2026-05-20T14:19:07.262Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-9065 (GCVE-0-2026-9065)

Vulnerability from cvelistv5 – Published: 2026-05-20 08:23 – Updated: 2026-05-20 14:19
VLAI?
Title
Surecart - SQL Injection
Summary
SureCart version prior to 4.2.1 are vulnerable to authenticated SQL injection via multiple parameters ('model_name', 'model_id', 'integration_id', 'provider') on the REST API endpoint '/surecart/v1/integrations/{id}'. The root cause is a flawed escaping bypass in the query builder ('wp-query-builder'). Values passed to the 'where()' method are only sanitized via '$wpdb->prepare()' when they do **not** contain a dot ('.') or the WordPress table prefix ('wp_'). By including a dot anywhere in the payload, an attacker completely bypasses the escaping logic and injects arbitrary SQL into the 'WHERE' clause, allowing full UNION-based extraction of the database.
CWE
  • CWE-89 - Improper neutralization of special elements used in an SQL command ('SQL injection')
Assigner
Impacted products
Vendor Product Version
brainstormforce Surecart Affected: O , < 4.2.1 (custom)
Create a notification for this product.
Date Public ?
2026-05-20 08:23
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-9065",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-05-20T13:57:12.920758Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-05-20T14:19:07.262Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://wordpress.org/plugins/surecart",
          "defaultStatus": "unaffected",
          "product": "Surecart",
          "vendor": "brainstormforce",
          "versions": [
            {
              "lessThan": "4.2.1",
              "status": "affected",
              "version": "O",
              "versionType": "custom"
            }
          ]
        }
      ],
      "datePublic": "2026-05-20T08:23:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eSureCart version prior to 4.2.1 are vulnerable to authenticated SQL injection via multiple parameters (\u0027model_name\u0027, \u0027model_id\u0027, \u0027integration_id\u0027, \u0027provider\u0027) on the REST API endpoint \u0027/surecart/v1/integrations/{id}\u0027.\u003cbr\u003e\u003cbr\u003eThe root cause is a flawed escaping bypass in the query builder (\u0027wp-query-builder\u0027). Values passed to the \u0027where()\u0027 method are only sanitized via \u0027$wpdb-\u0026gt;prepare()\u0027 when they do **not** contain a dot (\u0027.\u0027) or the WordPress table prefix (\u0027wp_\u0027). By including a dot anywhere in the payload, an attacker completely bypasses the escaping logic and injects arbitrary SQL into the \u0027WHERE\u0027 clause, allowing full UNION-based extraction of the database.\u003c/p\u003e"
            }
          ],
          "value": "SureCart version prior to 4.2.1 are vulnerable to authenticated SQL injection via multiple parameters (\u0027model_name\u0027, \u0027model_id\u0027, \u0027integration_id\u0027, \u0027provider\u0027) on the REST API endpoint \u0027/surecart/v1/integrations/{id}\u0027.\n\nThe root cause is a flawed escaping bypass in the query builder (\u0027wp-query-builder\u0027). Values passed to the \u0027where()\u0027 method are only sanitized via \u0027$wpdb-\u003eprepare()\u0027 when they do **not** contain a dot (\u0027.\u0027) or the WordPress table prefix (\u0027wp_\u0027). By including a dot anywhere in the payload, an attacker completely bypasses the escaping logic and injects arbitrary SQL into the \u0027WHERE\u0027 clause, allowing full UNION-based extraction of the database."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 9.3,
            "baseSeverity": "CRITICAL",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "HIGH",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "HIGH",
            "subConfidentialityImpact": "HIGH",
            "subIntegrityImpact": "HIGH",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "HIGH",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-89",
              "description": "CWE-89 Improper neutralization of special elements used in an SQL command (\u0027SQL injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-20T08:23:55.218Z",
        "orgId": "5ac1ecc2-367a-4d16-a0b2-35d495ddd0be",
        "shortName": "tenable"
      },
      "references": [
        {
          "url": "https://www.tenable.com/security/research/tra-2026-43"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "Surecart - SQL Injection",
      "x_generator": {
        "engine": "Vulnogram 1.0.2"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "5ac1ecc2-367a-4d16-a0b2-35d495ddd0be",
    "assignerShortName": "tenable",
    "cveId": "CVE-2026-9065",
    "datePublished": "2026-05-20T08:23:55.218Z",
    "dateReserved": "2026-05-20T08:19:43.782Z",
    "dateUpdated": "2026-05-20T14:19:07.262Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}