Skip to content

← Public intelligence

npm package

@simonsmith/cypress-image-snapshot

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.5npmAmendedPublished

    @simonsmith/cypress-image-snapshothas fix for insecure snapshot file names

    CVE-2023-38695 · GHSA-vxjg-hchx-cc4g

    Affected
    • npm @simonsmith/cypress-image-snapshot <= 8.0.1
    Fixed in
    8.0.2· Vendor fix available
    Issue
    Impact It's possible for a user to pass a relative file path for the snapshot name and reach outside of the project directory into the machine running the test. Example: The above will create an ignore-relative-dirs.png three levels up Patches Fixed in 8.0.2 Workarounds Validate all the existing uses of matchImageSnapshot to ensure correct use of the filename argument. Example: References https://github.com/simonsmith/cypress-image-snapshot/issues/15

    Recommended action: Upgrade to 8.0.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →