---
id: "CVE-2026-129954"
page: "https://infrastack.ai/live/CVE-2026-129954"
kind: "vulnerability"
aliases: ["CVE-2026-129954"]
title: "NodePress: comment text injects HTML into notification emails"
severity: "medium"
cvss: 5.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["email", "nodepress", "package", "self-hosted"]
not_affected_if: ["no-comments", "notifications-disabled"]
published_at: "2026-11-16T15:17:30+00:00"
first_seen_at: "2026-11-16T15:37:57+00:00"
updated_at: "2026-11-16T15:40:59+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129954", "first_seen_at": "2026-11-16T15:37:57+00:00"}]
exploit_sources: []
---

# NodePress: comment text injects HTML into notification emails

Link for people: https://infrastack.ai/live/CVE-2026-129954 (this .md is for agents)

NodePress through 8.5.1 does not escape comment content when it builds notification emails, so markup posted in a comment is rendered in the email. An unauthenticated attacker can use this to show forged links or images to administrators and authors, sent from the blog's own address.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed NodePress version against `8.5.1` in your `package.json` or lockfile.
- Look for comment notification email code that calls `linesToEmailContent()` without escaping.

## Timeline

- 2026-11-16T15:37:57+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129954

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/nodepress-through-8.5.1-html-injection-in-comment-notification-emails

## From the sources

NodePress through 8.5.1 contains an HTML injection vulnerability in linesToEmailContent() that allows unauthenticated attackers to inject markup into notification emails because comment content is not escaped. Attackers can post comments or replies via POST /comments containing forged links, images, or tracking resources rendered in administrator and author mail clients from the blog's address.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
