Description
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.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| simonsmith | cypress-image-snapshot | <= 8.0.1 |
References
- https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4Patch
- https://github.com/simonsmith/cypress-image-snapshot/issues/15Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2Release Notes
- https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4gExploit, Mitigation, Vendor Advisory
- https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4Patch
- https://github.com/simonsmith/cypress-image-snapshot/issues/15Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2Release Notes
- https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4gExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Aug 4, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified