From e1fba882cfa1cc9edbe3122eaddb1ad60edab10f Mon Sep 17 00:00:00 2001
From: clawedassistant26 <307253840+clawedassistant26@users.noreply.github.com>
Date: Sat, 25 Jul 2026 06:24:23 +0000
Subject: [PATCH] fix(email): HTML-escape interpolated values in email
templates
Titles, actors and tenant brand names were interpolated straight into
the HTML email bodies. A GitHub issue/PR title is attacker-controlled,
so sendGithubClosedNotification rendered untrusted markup (e.g.
",
+ url: "https://github.com/x",
+ actor: 'evil">pwn',
+ merged: false,
+ }),
+ );
+ assert.ok(!payload.html.includes("