high7.5
CVE-2026-61685
ReactPress has SQL injection via dynamic column names in TypeORM query builders
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @fecommunity/reactpress | <= 3.6.0 | 3.7.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-wmw4-mw6x-6vfm
- 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
- https://github.com/fecommunity/reactpress/releases/tag/v3.7.0