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.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| codidact | qpixel | < 0.13.0 |
References
- https://github.com/codidact/qpixel/commit/78240c7bca374b50047455bade7f3596887ee782
- https://github.com/codidact/qpixel/commit/d4d49b640c4b70f931e84a1d137acb93a1703867
- https://github.com/codidact/qpixel/pull/2080
- https://github.com/codidact/qpixel/releases/tag/v0.13.0
- https://github.com/codidact/qpixel/security/advisories/GHSA-9mhx-jr3h-2cvf
- https://github.com/codidact/qpixel/security/advisories/GHSA-9mhx-jr3h-2cvf
Timeline
- Published
- Nov 18, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Received