Security mailing lists by PureSourceCode

CVE-2023-38695

MEDIUM 6.5CVSS 3.1

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

cypress-image-snapshot shows visual regressions in Cypress with jest-image-snapshot. Prior to version 8.0.2, 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. This issue has been patched in version 8.0.2.

Published
4 Aug 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-vxjg-hchx-cc4g
Sources
NVDJSONOSV GHSA-vxjg-hchx-cc4gJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD simonsmith cypress_image_snapshot
cpe:2.3:a:simonsmith:cypress_image_snapshot:*:*:*:*:*:node.js:*:*
< 8.0.2 8.0.2
OSV npm @simonsmith/cypress-image-snapshot < 8.0.2 8.0.2

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 4 Aug 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Aug 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.