Skip to content
Heist/ feed
Back to feed
High

ReactPress has SQL injection via dynamic column names in TypeORM query builders

Type: advisorySources: OSV

ReactPress is a publishing system for React developers. Prior to version 3.7.0, ReactPress API list endpoints build TypeORM `QueryBuilder` conditions using unsanitized HTTP query parameter names as SQL column identifiers (e.g. `` `article.${key}` ``). TypeORM parameterizes values but not column names, allowing unauthenticated attackers to inject SQL through crafted query string keys. Version 3.7.0 contains a patch. As a workaround, allowlist allowed filter column names before interpolating into SQL.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-61685
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:49 UTC · Revision 1

Source evidence

ReactPress has SQL injection via dynamic column names in TypeORM query builders

core-osv · Original source

Published 22 Sept 2026, 23:08 UTC

ReactPress is a publishing system for React developers. Prior to version 3.7.0, ReactPress API list endpoints build TypeORM `QueryBuilder` conditions using unsanitized HTTP query parameter names as SQL column identifiers (e.g. `` `article.${key}` ``). TypeORM parameterizes values but not column names, allowing unauthenticated attackers to inject SQL through crafted query string keys. Version 3.7.0 contains a patch. As a workaround, allowlist allowed filter column names before interpolating into SQL.

osv:CVE-2026-61685
Complete source record
{
  "id": "205857a65faee7f6ba05bd02738f502b813762e9b28729295ec768f1ed331ad3",
  "url": "https://osv.dev/vulnerability/CVE-2026-61685",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ReactPress has SQL injection via dynamic column names in TypeORM query builders",
    "summary": "ReactPress is a publishing system for React developers. Prior to version 3.7.0, ReactPress API list endpoints build TypeORM `QueryBuilder` conditions using unsanitized HTTP query parameter names as SQL column identifiers (e.g. `` `article.${key}` ``). TypeORM parameterizes values but not column names, allowing unauthenticated attackers to inject SQL through crafted query string keys. Version 3.7.0 contains a patch. As a workaround, allowlist allowed filter column names before interpolating into SQL.",
    "evidence": "osv:CVE-2026-61685",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-61685",
      "aliases": [
        "CVE-2026-61685",
        "GHSA-wmw4-mw6x-6vfm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/fecommunity/reactpress",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "827c178061d422a4bc8bdbabd6c0acbe91384dfa"
                },
                {
                  "fixed": "78ecb70af1c021455c05fdcbe137212c70e310d6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.7.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "78ecb70af1c021455c05fdcbe137212c70e310d6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "827c178061d422a4bc8bdbabd6c0acbe91384dfa"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.7.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.25.0",
            "v3.6.0",
            "v3.24.0",
            "v3.5.0",
            "v3.23.0",
            "v3.4.0",
            "v3.22.0",
            "v3.3.0",
            "v3.21.0",
            "v3.20.0",
            "v3.2.0",
            "v3.19.0",
            "v3.1.0",
            "v3.1.1",
            "v3.17.0",
            "v3.18.0",
            "v3.11.0",
            "v3.10.0",
            "v2.31.0",
            "v2.32.0",
            "v2.33.0",
            "v2.34.0",
            "v2.35.0",
            "v2.36.0",
            "v3.0.0",
            "v3.9.0",
            "v3.8.0",
            "v2.30.0",
            "v2.28.0",
            "v2.26.0",
            "v2.24.0",
            "v2.20.0",
            "v2.17.0",
            "v2.15.0",
            "v2.14.0",
            "v2.13.0",
            "v2.12.0",
            "v2.10.0",
            "v2.6.0",
            "v2.5.0",
            "v2.4.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61685.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.997671009Z",
      "provider": "osv",
      "references": [
        "https://github.com/fecommunity/reactpress/releases/tag/v3.7.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61685.json",
        "https://github.com/fecommunity/reactpress/security/advisories/GHSA-wmw4-mw6x-6vfm",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-61685",
        "https://github.com/fecommunity/reactpress/commit/78ecb70af1c021455c05fdcbe137212c70e310d6"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61685.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-61685",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504285,
  "published_at": "2026-09-22T23:08:58.323+00:00"
}