Medium severity · published Oct 7, 2026
CVE-2026-107272
Gophish through 0.12.1 XSS via Unescaped SMTP Server Error Messages
4.7
CVSS
0.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 8% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
gophish · gophish
through 0.12.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-107272
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-107272
technical-description
https://blog.ostorlab.co/gophish-0121-manual-review-agentic-deep-scan.html
technical-description
https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/static/js/src/app/campaign_results.js#L422-L427
technical-description
https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/static/js/src/app/campaigns.js#L110-L113
product
https://github.com/gophish/gophish
third-party-advisory
https://www.vulncheck.com/advisories/gophish-through-0.12.1-xss-via-unescaped-smtp-server-error-messages
More from gophish
8.1
CVE-2026-82269
Gophish Account Lockout and Forced Password Change Bypassable via API Key
7.1
CVE-2026-107270
Gophish through 0.12.1 Object Takeover via Client-Supplied ID on API Create Endpoints
6.5
CVE-2026-39904
Gophish 0.12.1 Denial of Service via Office Document Upload
5.3
CVE-2026-107271
Gophish through 0.12.1 Login Rate Limit Bypass via X-Forwarded-For Spoofing
4.3
CVE-2026-107273
Gophish 0.11.0 through 0.12.1 SSRF via POST /api/import/site
