# CVE-2026-107272: Gophish through 0.12.1 XSS via Unescaped SMTP Server Error Messages

- Severity: Low 2.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-07T15:44:05.720Z
- Modified: 2026-10-07T17:16:54.210Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- gophish gophish: up to 0.12.1

## Every score

- VulnCheck: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://blog.ostorlab.co/gophish-0121-manual-review-agentic-deep-scan.html> (exploit, 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> (technical-description)
- <https://github.com/gophish/gophish> (product)
- <https://www.vulncheck.com/advisories/gophish-through-0.12.1-xss-via-unescaped-smtp-server-error-messages> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-107272](https://www.cve.org/CVERecord?id=CVE-2026-107272), CVE Terms of Use, modified 2026-10-07
- NVD: [CVE-2026-107272](https://nvd.nist.gov/vuln/detail/CVE-2026-107272), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2026-107272 · Whole record: https://cve.day/CVE-2026-107272.json · Rebuilt by cve.day 2026-11-25T22:59:43.052Z
