ReactPress has SQL injection via dynamic column names in TypeORM query builders
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/articleGET /api/commentGET /api/fileGET /api/pageGET /api/Knowledge
Affected code
Vulnerable pattern in findAll() methods, including but not limited to:
server/src/modules/article/article.service.tsserver/src/modules/comment/comment.service.tsserver/src/modules/file/file.service.tsserver/src/modules/page/page.service.tsserver/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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| npm-Paket | @fecommunity/reactpress | < 3.7.0 | 3.7.0 |
Verweise
- 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
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Schwäche (CWE)
CWE-89- Plattform
- npm
- Paket
@fecommunity/reactpress- Veröffentlicht
- 23.09.2026
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-wmw4-mw6x-6vfm - CC BY 4.0
Schwachstellenhistorie: @fecommunity/reactpress
Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.