---
id: "CVE-2026-129169"
page: "https://infrastack.ai/live/CVE-2026-129169"
kind: "vulnerability"
aliases: ["CVE-2026-129169"]
title: "PMail: stored cross-site scripting through the send-email API"
severity: "medium"
cvss: 5.4
epss: null
exploited: false
status: "open"
category: "other"
products: [{"name": "PMail", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["email", "other", "pmail", "self-hosted"]
not_affected_if: ["no-untrusted-accounts", "version-outside-range"]
published_at: "2026-11-13T18:17:42+00:00"
first_seen_at: "2026-11-13T18:49:31+00:00"
updated_at: "2026-11-13T18:51:49+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129169", "first_seen_at": "2026-11-13T18:49:31+00:00"}]
exploit_sources: []
---

# PMail: stored cross-site scripting through the send-email API

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

PMail versions 2.5.0 through 2.9.8 accept unsanitized HTML sent to /api/email/send, so a logged-in user can store a script in a message. When an administrator opens that message, the script runs in their session and can call privileged APIs such as password changes, enabling account takeover.

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

## Affected

- vendor:PMail affected range not listed fixed no fixed version listed

## How to check

- Check the installed PMail version against the affected range `2.5.0` through `2.9.8`.
- Confirm whether untrusted users can authenticate to the PMail instance and call `/api/email/send`.

## Timeline

- 2026-11-13T18:49:31+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129169

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/pmail-2.5.0-through-2.9.8-stored-xss-via-api-email-send-html-body

## From the sources

PMail 2.5.0 through 2.9.8 contains a stored cross-site scripting vulnerability that allows authenticated users to inject scripts by sending unsanitized HTML through /api/email/send. Attackers can embed event-handler payloads like img onerror that execute when administrators view the message, enabling privileged API calls such as password changes for account takeover.

---

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