ReactPress has SQL injection via dynamic column names in TypeORM query builders
cve-program · CVE-2026-61685
PublishedReactPress 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.
Read the publisher's advisoryeuvd · EUVD-2026-84981
PublishedReactPress 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.
Read the publisher's advisorynvd · CVE-2026-61685
PublishedReactPress 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.
Read the publisher's advisoryosv · GHSA-wmw4-mw6x-6vfm
Published## Summary 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. ## Impact An unauthenticated remote attacker can perform blind SQL injection against the application database, potentially exfiltrating sensitive data (users, settings, API keys, article content, etc.). ## Affected endpoints (unauthenticated GET) - `GET /api/article` - `GET /api/comment` - `GET /api/file` - `GET /api/page` - `GET /api/Knowledge` ## Affected code Vulnerable pattern in `findAll()` methods, including but not limited to: - `server/src/modules/article/article.service.ts` - `server/src/modules/comment/comment.service.ts` - `server/src/modules/file/file.service.ts` - `server/src/modules/page/page.service.ts` - `server/src/modules/knowledge/knowledge.service.ts` ## Remediation - Whitelist allowed filter column names before interpolating into SQL. - Upgrade to `@fecommunity/reactpress` >= 3.7.0. ## Credit Reported by lsr365400.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-61685 · CVE overview and exploitation status
cve-program · CVE-2026-61685
- https://github.com/fecommunity/reactpress/security/advisories/GHSA-wmw4-mw6x-6vfm
- https://github.com/fecommunity/reactpress/commit/78ecb70af1c021455c05fdcbe137212c70e310d6
- https://github.com/fecommunity/reactpress/releases/tag/v3.7.0
euvd · EUVD-2026-84981
- https://github.com/fecommunity/reactpress/security/advisories/GHSA-wmw4-mw6x-6vfm
- https://github.com/fecommunity/reactpress/commit/78ecb70af1c021455c05fdcbe137212c70e310d6
- https://github.com/fecommunity/reactpress/releases/tag/v3.7.0
nvd · CVE-2026-61685
- https://github.com/fecommunity/reactpress/commit/78ecb70af1c021455c05fdcbe137212c70e310d6
- https://github.com/fecommunity/reactpress/releases/tag/v3.7.0
- https://github.com/fecommunity/reactpress/security/advisories/GHSA-wmw4-mw6x-6vfm
osv · 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
- https://github.com/fecommunity/reactpress/releases/tag/v3.7.0
Related changes
Linked by CVE identifierNo related changes are available here.