Gophish through 0.12.1 contains stored and reflected cross-site scripting vulnerabilities that allow attackers to inject script by returning… (CVE-2026-107272)
Description
Gophish versions through 0.12.1 have stored and reflected cross-site scripting (XSS) vulnerabilities. These flaws allow attackers who control or intercept SMTP server error messages to inject malicious scripts. The injected scripts can execute when administrators view campaign results or send test emails, potentially leading to theft of API keys.
CVSS v3.1
Score 4.7medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Gophish through version 0.12.1 is affected by stored and reflected cross-site scripting vulnerabilities. Attackers who control or intercept the SMTP server used in a sending profile can craft malicious error messages that inject scripts. These scripts execute in the context of the administrator's browser when viewing campaign results or sending test emails, enabling theft of sensitive information such as API keys. The CVSS 3.1 base score is 4.7, indicating a low severity vulnerability with network attack vector, high attack complexity, no privileges required, user interaction required, and impact on confidentiality and integrity but not availability.
Potential Impact
An attacker able to control or intercept SMTP server error messages can inject malicious scripts that execute in the administrator's browser. This can lead to theft of API keys, compromising the security of the Gophish environment. However, exploitation requires control or interception of SMTP server responses and user interaction by the administrator.
Mitigation Recommendations
No official patch or fix information is provided. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, administrators should be cautious when interacting with SMTP servers and consider limiting exposure to untrusted SMTP servers. Monitoring for suspicious activity related to API keys is advisable.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2424-98jr-qcjq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-107272"]
- Database Specific Severity
- LOW
- Cvss Version
- 3.1
Threat ID: 6ac6bff72cdf04f6568290bf
Added to database: 10/07/2026, 21:56:07 UTC
Last enriched: 10/07/2026, 22:10:30 UTC
Last updated: 10/07/2026, 22:28:23 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.