Vulnerability library
Security checkJanuary 09, 2023

Holder can generate proof of ownership for credentials it does not control in vp-toolkit

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmvp-toolkit

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The verifyVerifiablePresentation() method check the cryptographic integrity of the Verifiable Presentation, but it does not check if the credentialSubject.id DID matches the signer of the VP proof.

The verifier is impacted by this vulnerability.

Recommendation

Update the vp-toolkit package to the latest compatible version. Followings are version details:

  • Affected version(s): < 0.2.2
  • Patched version(s): 0.2.2

References

Could your website be exposed too?

SmartScanner can check your website for Holder can generate proof of ownership for credentials it does not control in vp-toolkit and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023