Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate and start article payment
-
ExploitEnumerate ~2000 genPayCode verifyCode values
-
ImpactSubmit matching code to unauthenticated callback to unlock article
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires an authenticated paicoding account that can start a payment flow for a paid article, after which the attacker brute-forces the verifyCode. The specific weaknesses are: (1) verifyCode values come from IdUtil.genPayCode, a predictable sequential counter yielding a small space (~2000 candidate values) enumerable in bulk, and (2) the pay-callback endpoint in ArticlePayRestController accepts the submitted verifyCode without authentication, so any valid code marks the article paid. Limiting factors: the attacker must possess a valid account (PR:L) and an active payment session to tie the enumeration to, impact is confined to unlocking paid content rather than account/system compromise, and only paicoding 1.0.3 is confirmed affected. |
| Impact | This is a medium-severity authorization/payment-integrity flaw, not a high-urgency emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N) scores 5.3 and indicates a network-reachable, low-complexity attack that nonetheless requires low privileges (PR:L) - the attacker must hold a valid account to initiate a payment before enumerating codes, even though the final callback endpoint is itself unauthenticated. The vuln.today decision label is 'this_month', consistent with a moderate-priority item rather than 'act_now' or 'emergency'. No CISA KEV listing is present and no EPSS probability was supplied, so there is no signal of active or widespread exploitation; the impact is bounded to unlocking paid articles (low confidentiality and low integrity, no availability), limiting real-world business impact to content/revenue leakage. The weak-randomness root cause (CWE-334) and the ~2000-value enumeration are corroborated by VulnCheck's advisory and direct source-code references (IdUtil.genPayCode and ArticlePayRestController), so the mechanism is well-evidenced even though exploitation prevalence data (EPSS/KEV) is absent. |
| Exploit ScenarioDerived | An authenticated user initiates a payment for a paid article, then scripts requests across the roughly 2000 predictable counter-based values produced by IdUtil.genPayCode to find the matching verifyCode, and submits that code to the unauthenticated pay callback to mark the article as paid without paying. VulnCheck's advisory and the GitHub issue publicly document the enumeration technique and the vulnerable code paths; a public PoC reference exists, but it is not verified as working exploit code. The low attack complexity and small code space make the brute force trivial to automate. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Payment bypass in paicoding 1.0.3 lets an authenticated user unlock paid articles without completing payment by brute-forcing the weak payment confirmation code. The verifyCode is generated by IdUtil.genPayCode as a predictable, essentially sequential counter value, leaving only roughly 2000 candidates, and the pay-callback handler in ArticlePayRestController accepts the submitted code without any authentication, so a matching guess marks the order and article as paid. Impact is confined to paid-content integrity (low confidentiality and integrity, no availability impact) rather than account or system compromise; the attack requires a valid account and an active payment session, and no public exploit identified at time of analysis - CISA KEV does not list this issue.
RemediationAI
No vendor-released patch or fixed version is listed in the available sources, so remediation must currently be applied by the operator; track https://github.com/itwanger/paicoding/issues/137 and the VulnCheck advisory for a fix. The primary code fix is to replace IdUtil.genPayCode's counter-derived value with a cryptographically random token of sufficient entropy (for example a 128-bit CSPRNG value encoded as hex or Base64), which invalidates any in-flight codes and may require adjusting any code-length or numeric-only assumptions in the payment UI and storage. The second required fix is to stop trusting the callback: require an authenticated session bound to the pending order, or verify a signature/shared secret from the payment provider, and validate that the submitted code matches the server-side record for that specific order and user, with single-use consumption and a short expiry. Until code changes ship, restrict access to the pay-callback endpoint at the reverse proxy to the payment provider's source addresses or an authenticated path, and rate-limit or alert on repeated verifyCode submissions per user and per order; both controls can break legitimate gateway callbacks or add user-facing lockouts if thresholds are set too aggressively, so stage them with monitoring first.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is classified CWE-334 (Small Space of Random Values) and sits in paicoding's article payment flow. In the referenced source snapshot (commit 903adce70309d340f7eec51ec3c80cfe3c8326c1), IdUtil.java lines 54-61 implement genPayCode as a counter-derived value, so successive payment codes are highly predictable and the total candidate space is small (about 2000 values), making bulk enumeration feasible. ArticlePayRestController.java lines 79-90 is the pay callback that consumes the submitted verifyCode; per the assessment it performs no authentication or caller verification, so possession of a matching code is sufficient to flip the order to paid. Exploitation therefore combines two weaknesses: predictable code generation and an unauthenticated state-changing callback, yielding an authorization/payment-integrity bypass rather than a memory-safety or code-execution bug. The assessed CVSS:3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N) and the CVSS 4.0 vector agree on network reachability, low attack complexity, and low privileges required (an authenticated account able to start a payment for a paid article); the trigger steps are as described - start a payment, enumerate verifyCode candidates, submit the match to the callback. Only paicoding 1.0.3 is confirmed affected in the EUVD data, while the CPE entry uses a wildcard version range, so other builds are unverified rather than confirmed vulnerable. No EPSS score, KEV entry, or verified working exploit code was supplied.
Know when Paicoding gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable and trivially automatable brute force over a tiny code space (AC:L), but the attacker must be a logged-in user starting a payment (PR:L); impact limited to reading paid content (C:L) and altering payment state (I:L), no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
A vulnerability was found in itwanger paicoding 1.0.3. Rated medium severity (CVSS 5.3), this vulnerability is remotely
A vulnerability was found in itwanger paicoding 1.0.3 and classified as problematic. Rated medium severity (CVSS 5.3), t
A vulnerability has been found in itwanger paicoding 1.0.3 and classified as problematic. Rated medium severity (CVSS 5.
Predictable credentials in paicoding (commits b8206b9 through 903adce) allow account takeover of users who registered th
Missing authorization in paicoding 1.0.3 lets remote unauthenticated attackers read restricted content through the artic
Server-side request forgery in Paicoding 1.0.0-1.0.3 allows authenticated attackers to manipulate the image upload param
Stored cross-site scripting in paicoding's payment-notification flow allows authenticated users to set a malicious displ
Stored cross-site scripting in paicoding 1.0.0 through 1.0.3 allows an authenticated user with image-upload rights to su
Stored cross-site scripting in paicoding 1.0.0 through 1.0.3 lets an authenticated user place a closing script tag and a
A vulnerability has been found in itwanger paicoding 1.0.0/1.0.1/1.0.2/1.0.3 and classified as problematic. Rated low se
EUVD-2026-125616
GHSA-cq4w-w6h4-82fx
NVD
CVE.org
EPSS
Exploit-DB