Skip to content

fix(deps): remove vulnerable email rendering dependency - #51

Merged
jack-arturo merged 1 commit into
mainfrom
fix/security-findings
Nov 14, 2026
Merged

jack-arturo merged 1 commit into
mainfrom
fix/security-findings

Conversation

@jack-arturo

Copy link
Copy Markdown
Member

The campaign renderer pulled in deepmerge through html-to-text, with an unpatched prototype-poisoning advisory. Upgrade React Email components and render, and deduplicate the nested renderer to the direct patched version. The newer renderer uses html-to-text 10 and no longer installs deepmerge.

A regression test checks campaign HTML and plain text, including links and the subscription footer. This changes email rendering dependencies but does not send email or change production configuration.

Verification: npm audit (zero vulnerabilities), formatting, typecheck, all 103 tests, and admin build; Codex local review found no actionable regressions.

Breaking changes: none intended. Related: #50.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T20:41:45.946866Z eda7e3c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jack-arturo jack-arturo added the babysit:ready Codex all clear and checks passed; ready for review label Nov 14, 2026
@jack-arturo
jack-arturo merged commit a53f6bb into main Nov 14, 2026
6 checks passed
@jack-arturo
jack-arturo deleted the fix/security-findings branch November 14, 2026 20:42
@jack-arturo jack-arturo removed the babysit:ready Codex all clear and checks passed; ready for review label Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant