diff --git a/package-lock.json b/package-lock.json index 750fbab1..81fe95bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,7 +45,7 @@ "next": "^16.4.1", "next-intl": "^4.13.2", "next-themes": "^0.4.6", - "nodemailer": "9.1.1", + "nodemailer": "10.0.6", "pdf-lib": "^1.17.1", "posthog-js": "^1.407.3", "posthog-node": "^5.46.1", @@ -9946,9 +9946,9 @@ } }, "node_modules/dompurify": { - "version": "3.4.14", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.14.tgz", - "integrity": "sha512-dVoH9z+MY+C9IilgGCk3YfFqjLi3fChm2OiKJMzh6axrJ5qwxqWaZamgmHrpv22CN/KdbZJuGEGgfQoL00LTdg==", + "version": "3.4.18", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.18.tgz", + "integrity": "sha512-ofe3wI/uNm68HInABYFJYqQxRw1EaKAjNdrFVKqjUY+UZurvNd2L/HuQe097s/4RivWiZyP6tT7aoT8atjfhwg==", "license": "(MPL-2.0 OR Apache-2.0)", "optionalDependencies": { "@types/trusted-types": "^2.0.7" @@ -14003,12 +14003,12 @@ } }, "node_modules/nodemailer": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-9.1.1.tgz", - "integrity": "sha512-izw9mVKFix6YSnC9eLgV6g1opl9DUlRio9ZNcq+Wu9Ujn2UwF+8Nl0B8nz22kEC+CTZCvinkxwJ0DeFbb6NwcQ==", + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-10.0.6.tgz", + "integrity": "sha512-2u7OHvEQVVGvPo9Yhw/eN3xMO2Gnj2U2fGDP0BDpnRwJR//65AfGRQDiJqxix28gFRBvMqi2USA13x6RrfWuGg==", "license": "MIT-0", "engines": { - "node": ">=6.0.0" + "node": ">=20.0.0" } }, "node_modules/normalize-svg-path": { @@ -15659,9 +15659,9 @@ "license": "ISC" }, "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -16937,9 +16937,9 @@ "license": "MIT" }, "node_modules/undici": { - "version": "6.29.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.29.0.tgz", - "integrity": "sha512-R+RODBqp6i2pPflGdq+xIOUkl+RNfGgHwoinecKu/JCuf2uO06cOKoDbI2P7Dn6KcswdKwrczbU6IYJ6K8X+wg==", + "version": "6.29.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.29.1.tgz", + "integrity": "sha512-EvRlUt/QqAEvXdQeRMYUfwOQsfzpDztykrG2owGEE/rBOBoYv9uF39ZzsNDh4lTFHhTr2XOZjKkYgueD12ZmGA==", "license": "MIT", "engines": { "node": ">=18.17" diff --git a/package.json b/package.json index bc4d6197..c6e88745 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "next": "^16.4.1", "next-intl": "^4.13.2", "next-themes": "^0.4.6", - "nodemailer": "9.1.1", + "nodemailer": "10.0.6", "pdf-lib": "^1.17.1", "posthog-js": "^1.407.3", "posthog-node": "^5.46.1", @@ -110,6 +110,9 @@ "overrides": { "html-to-text": "10.0.1", "sharp": "^0.35.3", - "postcss": "^8.5.18" + "postcss": "^8.5.18", + "dompurify": "^3.4.17", + "source-map-js": "^1.2.2", + "undici": "^6.29.1" } } diff --git a/scripts/checks/no-new-antipatterns.mjs b/scripts/checks/no-new-antipatterns.mjs index 60088b76..6a11dc70 100644 --- a/scripts/checks/no-new-antipatterns.mjs +++ b/scripts/checks/no-new-antipatterns.mjs @@ -758,12 +758,15 @@ const PINNED_DEPS = [ }, { name: 'nodemailer', - version: '9.1.1', + version: '10.0.6', reason: 'SMTP mailer for self-hosts (extensions/general/email/lib/smtp-service.ts). Zero-dependency MIT-0 ' + 'package on the outbound-mail path; bumps are deliberate, reviewed PRs (audit surface), never silent. ' + - 'Bumped 9.0.5 -> 9.1.1 (2026-09-30) for HIGH advisories GHSA-2x7j-588g-ccc2 / GHSA-8m3c-c648-2xjj, ' + - 'same major; the rest of the 9.x advisories are only fixed in 10.x (major, separate reviewed PR).', + 'Bumped 9.0.5 -> 9.1.1 (2026-09-30) for HIGH advisories GHSA-2x7j-588g-ccc2 / GHSA-8m3c-c648-2xjj. ' + + 'Bumped 9.1.1 -> 10.0.6 (2026-11-15): the remaining 9.x advisories (CVE-2026-90776 header DoS, ' + + 'GHSA-v53p-9fqp-m79j addressparser backtracking) are only fixed in 10.x, and Trivy failed the ' + + 'security gate on them. The 10.0 API used here (createTransport + sendMail) is unchanged; the ' + + 'smtp-service suite covers the transport options that matter (requireTLS, AUTH, envelope).', }, ]