QPixel: Unauthenticated cross-community comment disclosure via Comment.unscoped bypassing tenant and deletion checks
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 18, 2026
- Updated
- Nov 23, 2026
- Reserved
- Jul 30, 2026
Description
QPixel is a Q&A-based community knowledge-sharing software. Prior to 0.13.0, the unauthenticated comments#show action in app/controllers/comments_controller.rb resolves user-controlled comment IDs with Comment.unscoped, bypassing the Comment community default scope, and performs no deletion or post-visibility authorization check. A remote unauthenticated attacker can enumerate sequential IDs and read the full content of comments belonging to other communities, soft-deleted comments, and comments under access-restricted categories. The JSON response exposes the stored comment columns because the model has no limiting as_json override. This issue is fixed in version 0.13.0.
| Product | Versions |
|---|---|
| qpixel codidact | < 0.13.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | GitHub_M |
Weaknesses
References
- https://github.com/codidact/qpixel/security/advisories/GHSA-9mhx-jr3h-2cvf
- https://github.com/codidact/qpixel/pull/2080
- https://github.com/codidact/qpixel/commit/78240c7bca374b50047455bade7f3596887ee782
- https://github.com/codidact/qpixel/commit/d4d49b640c4b70f931e84a1d137acb93a1703867
- https://github.com/codidact/qpixel/releases/tag/v0.13.0
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.