CVE-2022-35917
Weakness in Transfer Validation Logic in @solana/pay
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
Description
Solana Pay is a protocol and set of reference implementations that enable developers to incorporate decentralized payments into their apps and services. When a Solana Pay transaction is located using a reference key, it may be checked to represent a transfer of the desired amount to the recipient, using the supplied `validateTransfer` function. An edge case regarding this mechanism could cause the validation logic to validate multiple transfers. This issue has been patched as of version `0.2.1`. Users of the Solana Pay SDK should upgrade to it. There are no known workarounds for this issue.
Timeline
ID reserved
By GitHub_M
- 17 days later
· 17 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.87% · top 41% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
- affected < 0.2.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@solana/payGHSA-j47c-j42c-mwqq (opens in a new tab)
References (4)
- https://github.com/solana-labs/solana-pay/security/advisories/GHSA-j47c-j42c-mwqq (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/solana-labs/solana-pay/commit/ac6ce0d0a81137700874a8bf5a7caac3be999fad (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/solana-labs/solana-pay/blob/master/SPEC.md#reference (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/solana-labs/solana-pay/blob/master/core/src/validateTransfer.ts (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-j47c-j42c-mwqq (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-35917)Record last updated .