CVE-2026-61685: @fecommunity/reactpress SQL Injection Vulnerability
HIGHCVE-2026-61685 is a HIGH (CVSS 7.5) sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting @fecommunity/reactpress libraries in the npm ecosystem. The issue involves reactpress has sql injection via dynamic column names in typeorm query builders. Remediation is available by upgrading affected packages to version 3.7.0.
CVE-2026-61685 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-61685
To remediate this vulnerability, upgrade all affected @fecommunity/reactpress dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @fecommunity/reactpress@3.7.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @fecommunity/reactpress
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-61685, inspect your project dependencies using npm:
npm ls @fecommunity/reactpress
Analyze the terminal output to locate any version of @fecommunity/reactpress in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.0), your application is affected.
Note: The npm ls @fecommunity/reactpress command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In @fecommunity/reactpress, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-61685 Affected @fecommunity/reactpress Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@fecommunity/reactpress
|
npm |
< 3.7.0
|
3.7.0
|
References
Frequently Asked Questions
What is CVE-2026-61685?
Which @fecommunity/reactpress versions are affected?
What version fixes CVE-2026-61685?
Is @fecommunity/reactpress affected?
What is the CVSS score of CVE-2026-61685?
What CWE is associated with CVE-2026-61685?
How can I check npm dependencies for CVE-2026-61685?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wmw4-mw6x-6vfm",
"modified" : "2026-09-23T21:51:59Z",
"published" : "2026-09-23T21:51:59Z",
"aliases" : [ "CVE-2026-61685" ],
"summary" : "ReactPress has SQL injection via dynamic column names in TypeORM query builders",
"details" : "## Summary\n\nReactPress API list endpoints build TypeORM `QueryBuilder` conditions using\nunsanitized HTTP query parameter *names* as SQL column identifiers\n(e.g. `` `article.${key}` ``). TypeORM parameterizes values but not column\nnames, allowing unauthenticated attackers to inject SQL through crafted\nquery string keys.\n\n## Impact\n\nAn unauthenticated remote attacker can perform blind SQL injection against\nthe application database, potentially exfiltrating sensitive data (users,\nsettings, API keys, article content, etc.).\n\n## Affected endpoints (unauthenticated GET)\n\n- `GET /api/article`\n- `GET /api/comment`\n- `GET /api/file`\n- `GET /api/page`\n- `GET /api/Knowledge`\n\n## Affected code\n\nVulnerable pattern in `findAll()` methods, including but not limited to:\n\n- `server/src/modules/article/article.service.ts`\n- `server/src/modules/comment/comment.service.ts`\n- `server/src/modules/file/file.service.ts`\n- `server/src/modules/page/page.service.ts`\n- `server/src/modules/knowledge/knowledge.service.ts`\n\n## Remediation\n\n- Whitelist allowed filter column names before interpolating into SQL.\n- Upgrade to `@fecommunity/reactpress` >= 3.7.0.\n\n## Credit\n\nReported by lsr365400.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@fecommunity/reactpress"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.7.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.6.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/fecommunity/reactpress/security/advisories/GHSA-wmw4-mw6x-6vfm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-61685"
}, {
"type" : "WEB",
"url" : "https://github.com/fecommunity/reactpress/commit/78ecb70af1c021455c05fdcbe137212c70e310d6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/fecommunity/reactpress"
}, {
"type" : "WEB",
"url" : "https://github.com/fecommunity/reactpress/releases/tag/v3.7.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-23T21:51:59Z",
"nvd_published_at" : "2026-09-22T23:17:07Z"
}
}