CVE-2026-107272
Deferred Deferred - Pending Action

Stored XSS in Gophish via SMTP Error Messages

Vulnerability report for CVE-2026-107272, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-07

Last updated on: 2026-10-07

Assigner: VulnCheck

Description

Gophish through 0.12.1 contains stored and reflected cross-site scripting vulnerabilities that allow attackers to inject script by returning malicious SMTP server error messages. Attackers controlling or intercepting a sending profile's SMTP server can execute script when administrators view campaign results or send test emails, stealing API keys.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-07
Last Modified
2026-10-07
Generated
2026-10-07
AI Q&A
2026-10-07
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gophish gophish 0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Gophish through version 0.12.1 has stored and reflected cross-site scripting (XSS) vulnerabilities due to improper input neutralization. Attackers controlling or intercepting an SMTP server in a sending profile can inject malicious scripts. When administrators view campaign results or send test emails, the scripts execute, potentially stealing API keys.

Detection Guidance

To detect this vulnerability, inspect Gophish versions prior to 0.12.1 for XSS payloads in SMTP error messages or campaign results. Check web interface logs for unusual script execution during test emails or campaign views. Review SMTP server configurations for unauthorized modifications.

Impact Analysis

This vulnerability allows attackers to execute malicious scripts in the context of Gophish administrators. This could lead to theft of API keys, unauthorized access to sensitive data, or further compromise of the Gophish instance or connected systems.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, such as API keys, which may include personal or confidential information. If exploited, it could violate data protection principles under GDPR and HIPAA by exposing protected health information or personal data, potentially resulting in non-compliance with these regulations.

Mitigation Strategies

Upgrade Gophish to the latest version beyond 0.12.1 to patch the XSS flaw. Disable or audit SMTP server profiles for unauthorized access. Monitor web interface activity for suspicious script execution or API key exposure.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-107272. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart