{"id":"CVE-2025-34316","state":"PUBLISHED","title":"IPFire < v2.29 Stored XSS via Mail Server Settings","description":"IPFire versions prior to 2.29 (Core Update 198) contain a stored cross-site scripting (XSS) vulnerability that allows an authenticated attacker to inject arbitrary JavaScript code through the txt_mailuser and txt_mailpass parameters when updating the mail server settings. When a user updates the mail server, the application issues an HTTP POST request to /cgi-bin/mail.cgi and the username and password are provided in the txt_mailuser and txt_mailpass parameters. The values of these parameters are stored and later rendered in the web interface without proper sanitation or encoding, allowing injected scripts to execute in the context of other users who view the affected mail configuration.","publishedAt":"2025-10-28T14:34:54.739Z","updatedAt":"2025-10-29T18:07:01.018Z","severity":{"score":5.1,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["IPFire.org IPFire"],"affected":[{"vendor":"IPFire.org","product":"IPFire","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.29 (Core Update 198)","versionType":"custom"}],"modules":["/cgi-bin/mail.cgi"]}],"references":["https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released","https://bugzilla.ipfire.org/show_bug.cgi?id=13891","https://www.vulncheck.com/advisories/ipfire-stored-xss-via-mail-server-settings"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:09:03.054Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/34xxx/CVE-2025-34316.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-34316","state":"PUBLISHED","datePublished":"2025-10-28T14:34:54.739Z","dateUpdated":"2025-10-29T18:07:01.018Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2025-04-15T19:15:22.584Z"},"containers":{"cna":{"title":"IPFire < v2.29 Stored XSS via Mail Server Settings","descriptions":[{"lang":"en","value":"IPFire versions prior to 2.29 (Core Update 198) contain a stored cross-site scripting (XSS) vulnerability that allows an authenticated attacker to inject arbitrary JavaScript code through the txt_mailuser and txt_mailpass parameters when updating the mail server settings. When a user updates the mail server, the application issues an HTTP POST request to /cgi-bin/mail.cgi and the username and password are provided in the txt_mailuser and txt_mailpass parameters. The values of these parameters are stored and later rendered in the web interface without proper sanitation or encoding, allowing injected scripts to execute in the context of other users who view the affected mail configuration."}],"affected":[{"vendor":"IPFire.org","product":"IPFire","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.29 (Core Update 198)","versionType":"custom"}],"modules":["/cgi-bin/mail.cgi"]}],"references":[{"url":"https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released","tags":["vendor-advisory","patch"]},{"url":"https://bugzilla.ipfire.org/show_bug.cgi?id=13891","tags":["issue-tracking"]},{"url":"https://www.vulncheck.com/advisories/ipfire-stored-xss-via-mail-server-settings","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.1,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2025-10-28T14:34:54.739Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ipfire.org:ipfire:*:*:*:*:*:*:*:*","versionEndExcluding":"2.29_(core_update_198)","versionStartIncluding":"0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"credits":[{"lang":"en","type":"finder","value":"Alex Williams from Pellera Technologies"}],"impacts":[{"capecId":"CAPEC-592","descriptions":[{"lang":"en","value":"CAPEC-592 Stored XSS"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.4.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-10-29T18:06:51.936653Z","id":"CVE-2025-34316","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-29T18:07:01.018Z"}}]}}}