Vulnerabilities/

Solana Pay Vulnerable to Weakness in Transfer Validation Logic

Severity:
Medium

Description

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.

Recommendation

Update the @solana/pay package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@solana/pay
Anything's wrong? Let us know Last updated on January 27, 2023