@fecommunity/reactpress
Affected
- introduced
0, fixed3.7.0(semver)
Fixed versions
3.7.0
Fix
- Fixed version
3.7.0npm install @fecommunity/[email protected]
Advisory
Also known as: CVE-2026-61685
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/KnowledgeAffected 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.tsRemediation
@fecommunity/reactpress >= 3.7.0.Credit
Reported by lsr365400.
High Basis: The source's own band: HIGH
0, fixed 3.7.0 (semver)3.7.0
3.7.0npm install @fecommunity/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0