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.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-200 — CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-863 — CWE-863: Incorrect Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| codidact | qpixel | < 0.13.0 [affected] |
References
- https://github.com/codidact/qpixel/security/advisories/GHSA-9mhx-jr3h-2cvf (x_refsource_CONFIRM)
- https://github.com/codidact/qpixel/pull/2080 (x_refsource_MISC)
- https://github.com/codidact/qpixel/commit/78240c7bca374b50047455bade7f3596887ee782 (x_refsource_MISC)
- https://github.com/codidact/qpixel/commit/d4d49b640c4b70f931e84a1d137acb93a1703867 (x_refsource_MISC)
- https://github.com/codidact/qpixel/releases/tag/v0.13.0 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 19 Nov 2026 08:05 UTC.