Software Testing & QA Tools MIGRATION GUIDE MODERATE EFFORT

Cypress 8 to 9 Migration Guide

Upgrading Cypress from v8 to v9 spans 17 intermediate releases with 2 breaking changes and 8 resolved security advisories. Review the actionable checklist, required dependency adjustments, and CLI commands below.

Jump to Breaking Changes (2) ↓ View context.txt (AI Prompts) Cypress Security Track Record → Cypress Overview
Migration Risk
Moderate
Based on 2 breaking changes
Breaking Changes
2
Deprecations & removed APIs
Max Release Impact
7/10
Peak architectural complexity
Resolved CVEs
8
Vulnerabilities patched

Step 1: Execute Upgrade Command

Ensure you have a clean git tree before applying package updates.

Refer to the official package manager for Cypress to target version v9.7.0.

Step 2: Breaking Changes & Incompatible APIs (2)

Inspect and check off each breaking change verified in your codebase.

0 / 2 resolved
vv9.0.0
Inspect v9.0.0 release notes →
vv9.2.0
Inspect v9.2.0 release notes →

Step 3: Patched Security Advisories (8)

Upgrading to v9 resolves the following known vulnerabilities.

All Cypress CVEs →
Advisory ID Fixed in Version Severity (CVSS) Vulnerability Summary
CVE-2022-0512 v9.5.1 UNRATED Security advisory CVE-2022-0512 patched in cypress v9.5.1
CVE-2022-0686 v9.5.2 UNRATED Security advisory CVE-2022-0686 patched in cypress v9.5.2
CVE-2022-0691 v9.5.2 UNRATED Security advisory CVE-2022-0691 patched in cypress v9.5.2
CVE-2022-0639 v9.5.2 UNRATED Security advisory CVE-2022-0639 patched in cypress v9.5.2
CVE-2022-21718 v9.5.3 UNRATED Security advisory CVE-2022-21718 patched in cypress v9.5.3
CVE-2022-24771 v9.5.3 UNRATED Security advisory CVE-2022-24771 patched in cypress v9.5.3
CVE-2021-23566 v9.5.3 UNRATED Security advisory CVE-2021-23566 patched in cypress v9.5.3
CVE-2021-3807 v9.5.4 UNRATED Security advisory CVE-2021-3807 patched in cypress v9.5.4

Step 4: Intermediate Releases (17)

Chronological progression of releases incorporated in this upgrade.

vv9.7.0 May 23, 2022
Impact: 5/10 View notes →
vv9.6.1 May 09, 2022
Impact: 5/10 View notes →
vv9.6.0 Apr 25, 2022
Impact: 5/10 View notes →
vv9.5.4 Apr 11, 2022
Impact: 5/10 View notes →
vv9.5.3 Mar 28, 2022
Impact: 5/10 View notes →
vv9.5.2 Mar 14, 2022
Impact: 5/10 View notes →
vv9.5.1 Feb 28, 2022
Impact: 5/10 View notes →
vv9.5.0 Feb 15, 2022
Impact: 5/10 View notes →
vv9.4.1 Jan 31, 2022
Impact: 5/10 View notes →
vv9.4.0 Jan 31, 2022
Impact: 5/10 View notes →
vv9.3.1 Jan 19, 2022
Impact: 5/10 View notes →
vv9.3.0 Jan 18, 2022
Impact: 5/10 View notes →
vv9.2.1 Jan 10, 2022
Impact: 5/10 View notes →
vv9.2.0 Breaking Dec 21, 2021
Impact: 7/10 View notes →
vv9.1.1 Dec 04, 2021
Impact: 5/10 View notes →
vv9.1.0 Nov 23, 2021
Impact: 5/10 View notes →
vv9.0.0 Breaking Nov 10, 2021
Impact: 7/10 View notes →
Explore More Cypress Intelligence

Track real-time updates, compare against alternatives, or audit CVEs.

Overview Latest Release Security Hub