Skip to main content

PMail EUVDEUVD-2026-125599

| CVE-2026-129168 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-13 VulnCheck GHSA-744c-9r45-5f92
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted email via SMTP
  2. Delivery
    Deliver text/html attachment with page-covering cid link
  3. Exploit
    Victim opens message and clicks
  4. Execution
    Attachment served as HTML, script runs in webmail session
  5. Impact
    Script changes victim/admin password and hijacks account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to send an email via SMTP to a PMail user (no authentication to the mail server is needed to deliver mail) containing a text/html attachment plus a cid: reference crafted to cover the message view, targeting PMail versions 2.9.1 through 2.9.8 whose /attachments/{id}/{cid} endpoint returns attachments verbatim with the sender-supplied Content-Type. The decisive limiting factor is required user interaction: the recipient must open the message and click, though the page-covering cid link reduces this to a single click anywhere in the view. Realized impact scales with the victim's privilege - a normal user click allows that user's password to be changed, while an administrator who opens the message enables full admin account takeover.

Impact

This is a stored XSS (CWE-79) in a niche self-hosted mail server, and the signals point to a moderate, not emergency, priority. The vuln.today decision label is 'this_month' rather than act_now/emergency, there is no CISA KEV listing and no EPSS score in the supplied data, so there is no evidence of active or widespread exploitation. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N, 5.3) is internally consistent with the mechanism: an unauthenticated attacker can reach the target over the network by sending an email (PR:N), but exploitation requires the recipient to interact with the message (UI:P), which caps the real-world risk. The one factor that elevates concern beyond the modest 5.3 is the described impact: because the injected script runs in the victim's authenticated webmail session, a successful click can change the victim's password - and if an administrator opens the message, the administrator account can be taken over, which is a larger integrity impact than the 'Low' metrics alone suggest. No key signals are in direct conflict here; the main caveats are the absence of EPSS/KEV data and no confirmed fixed version in the provided sources. Net: a legitimate issue worth patching on a normal cycle, driven by the admin-takeover potential rather than by any evidence of exploitation.

Exploit ScenarioDerived

An attacker with no account sends an email over SMTP to a PMail user, attaching a text/html file and including a cid: reference styled to cover the whole message view. When the recipient opens the message and clicks anywhere, the browser fetches the attachment from /attachments/{id}/{cid}, which is served verbatim with the attacker-chosen text/html Content-Type, so the HTML/script executes inside the victim's authenticated webmail session and can issue a password-change request. The supplied sources include a VulnCheck advisory and a public write-up describing the flaw, but the input does not confirm working exploit code.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Stored cross-site scripting in PMail 2.9.1 through 2.9.8 allows an unauthenticated SMTP sender to deliver a text/html attachment that the /attachments/{id}/{cid} endpoint serves with the sender-supplied Content-Type, so a recipient who opens the message and clicks the page-covering cid link runs attacker script in the webmail origin. The script can change the victim's password, and because impact scales with privilege an administrator who clicks can be fully taken over. No CISA KEV entry is present and no public exploit is identified at time of analysis, while the required recipient click keeps this at moderate priority.

RemediationAI

No vendor-released patch or exact fixed version is identified in the supplied data; track GitHub issue #371 and the VulnCheck advisory for a fixed PMail release and upgrade all 2.9.1 through 2.9.8 instances when one is published. The supplied sources do not document a vendor workaround, so any interim control is exposure reduction rather than a fix: blocking or stripping text/html attachments at the SMTP gateway prevents the delivery path but rejects or alters legitimate HTML attachments, and restricting webmail access to trusted users or networks reduces who can be targeted but cuts off remote staff. Forcing /attachments responses to application/octet-stream with Content-Disposition: attachment at a reverse proxy would stop the inline HTML rendering but breaks intended inline images and attachments.

Affected VersionsENISA

PMail 2.9.1 ≤2.9.8

Affected Packages

euvd pmail no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-79: PMail's mail parsing rewrites cid: references into links to /attachments/{id}/{cid}, and the attachments controller returns the stored attachment body verbatim while preserving the sender-supplied Content-Type. The referenced code paths are server/controllers/attachments.go lines 13-30, server/services/detail/detail.go lines 49-58, and server/dto/parsemail/email.go lines 335-351. Because a sender can supply text/html and a cid link sized to cover the message view, the browser renders attacker HTML and JavaScript in the webmail origin when the recipient clicks. The supplied CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:P with low confidentiality and integrity impact and scope change; the independent CVSS 3.1 assessment is AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, confirming remote reach, no privileges, and required user interaction rather than automatic execution. CPE cpe:2.3:a:jinnrry:pmail:*:*:*:*:*:*:*:* identifies the PMail product line, and EUVD scopes affected versions to 2.9.1 through 2.9.8.

Know when Pmail gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

Unauthenticated attacker delivers payload by email (PR:N) but the victim must click (UI:R); script executing in the webmail browser session crosses scope (S:C) with limited confidentiality/integrity impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

PMail 2.9.1 through 2.9.8 contains a stored cross-site scripting vulnerability because the /attachments/{id}/{cid} endpoint returns email attachments verbatim with the sender-supplied Content-Type after cid: references are rewritten into attachment links. Unauthenticated SMTP senders can email a text/html attachment and a page-covering cid link, so a recipient who clicks the message runs script in their webmail session to change passwords, including the administrator's.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
niche self-hosted open-source (jinnrry/PMail) mail server, limited production footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy