{"id":"CVE-2026-107272","summary":"Gophish through 0.12.1 XSS via Unescaped SMTP Server Error Messages","details":"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.","modified":"2026-10-08T02:50:36.670225723Z","published":"2026-10-07T15:44:05.720Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107272.json","cna_assigner":"VulnCheck"},"references":[{"type":"EVIDENCE","url":"https://blog.ostorlab.co/gophish-0121-manual-review-agentic-deep-scan.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107272.json"},{"type":"PACKAGE","url":"https://github.com/gophish/gophish"},{"type":"ARTICLE","url":"https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/static/js/src/app/campaign_results.js#L422-L427"},{"type":"ARTICLE","url":"https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/static/js/src/app/campaigns.js#L110-L113"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107272"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gophish-through-0.12.1-xss-via-unescaped-smtp-server-error-messages"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gophish/gophish","events":[{"introduced":"0"},{"last_affected":"b1648f0759c6d57ac989157c55d8b47c40254fe6"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"0.12.1"}]}}],"versions":["v0.12.1","v0.12.0","v0.11.0","v0.10.1","v0.10.0","v0.9.0","v0.8.0","0.7.1","v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.0","v0.2.0","v0.1.2","v0.1.1","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107272.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}