vp-toolkit@0.1.1 vulnerabilities

A library to generate Verifiable Presentations and Verfiable Credentials

Direct Vulnerabilities

Known vulnerabilities in the vp-toolkit package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Improper Access Control

vp-toolkit is a TypeScript/JavaScript API generating and signing w3c verifiable credentials and related objects.

Affected versions of this package are vulnerable to Improper Access Control. The verifyVerifiablePresentation() method checks the cryptographic integrity of the verifiablePresentation.proof.n.verificationMethod, but it does not check if the credentialSubject.id matches the signer of the VP proof.

How to fix Improper Access Control?

Upgrade vp-toolkit to version 0.2.2 or higher.

<0.2.2
  • H
Improper Access Control

vp-toolkit is a TypeScript/JavaScript API generating and signing w3c verifiable credentials and related objects.

Affected versions of this package are vulnerable to Improper Access Control. The verifyVerifiableCredential() method checks the cryptographic integrity of the Verifiable Credential, but it does not check if the credential.issuer matches the signer of the credential.

How to fix Improper Access Control?

Upgrade vp-toolkit to version 0.2.2 or higher.

<0.2.2