Technical impact
This vulnerability originates in the address parsing logic of emailjs versions 3.2.0 through 5.0.3. The parser accepts nested comments, semicolons, or escaped characters in a recipient string, allowing an attacker to craft an address that is syntactically valid to the parser but causes emailjs to emit a RCPT TO command to an address chosen by the attacker. The mail transaction then delivers the original message content to that hidden recipient, effectively leaking the message to an external destination. The weakness is an improper input validation flaw (CWE-20).
Affected Systems
Vendor: Eleith emailjs. Affected product versions: 3.2.0 up to and including 5.0.3. The fix is included in version 5.0.4 and later.
Risk and Exploitability
The base score of 8.3 places this issue in the high severity range, and although no EPSS score is currently available, the lack of CISA KEV listing does not diminish the potential for exploitation. Attackers would need to supply a specially crafted recipient string—most likely through an API or SMTP interface—to trigger the injection. If such an interface is publicly exposed, the risk is significant due to the possibility of covert mail delivery and confidential information leakage.