paicoding 1.0.3 Payment Bypass via Guessable Codes in /article/api/pay/callback
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 13, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 13, 2026
Description
paicoding 1.0.3 contains a payment bypass vulnerability that allows authenticated attackers to unlock paid articles by guessing weak payment confirmation codes. Attackers can start a payment, enumerate roughly 2000 IdUtil.genPayCode counter values, and submit the matching verifyCode to the unauthenticated callback to mark it paid.
| Product | Versions |
|---|---|
| paicoding itwanger | 1.0.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-334 Small Space of Random Values
References
- https://vul.yulun.ac.cn/20261112/paicoding/Third-Party Advisory
- https://github.com/itwanger/paicoding/issues/137Issue Tracker
- https://github.com/itwanger/paicoding/blob/903adce70309d340f7eec51ec3c80cfe3c8326c1/paicoding-core/src/main/java/com/github/paicoding/forum/core/util/id/IdUtil.java#L54-L61Technical Details
- https://github.com/itwanger/paicoding/blob/903adce70309d340f7eec51ec3c80cfe3c8326c1/paicoding-web/src/main/java/com/github/paicoding/forum/web/front/article/rest/ArticlePayRestController.java#L79-L90Technical Details
- VulnCheck Advisory: paicoding 1.0.3 Payment Bypass via Guessable Codes in /article/api/pay/callbackThird-Party Advisory
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.