# CVE-2025-34316: IPFire < v2.29 Stored XSS via Mail Server Settings

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- 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.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2025-10-28T14:34:54.739Z
- Modified: 2026-09-26T00:10:00.127Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- IPFire.org IPFire: before 2.29 (Core Update 198)
- ipfire ipfire: before 2.29; 2.29

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `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`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released> (patch, release-notes, vendor-advisory)
- <https://bugzilla.ipfire.org/show_bug.cgi?id=13891> (issue-tracking, third-party-advisory)
- <https://www.vulncheck.com/advisories/ipfire-stored-xss-via-mail-server-settings> (third-party-advisory)

## Sources

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

---

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