The override pins [email protected] for @react-email/preview-server, but the CVE description states the vulnerability is in [email protected]. While Next.js 16.0.7 may address the issue, consider verifying that this version specifically resolves CVE-2025-55182 or if a more recent 15.x or 16.x patch version is recommended. Document the rationale for choosing 16.0.7 in comments or commit messages.
// Pinning [email protected] for @react-email/preview-server to address CVE-2025-55182. // See: https://github.com/vercel/next.js/security/advisories/GHSA-xxxx-xxxx-xxxx "@react-email/preview-server>next": "16.0.7",