# CVE-2025-34307: IPFire < v2.29 Stored XSS via Default Country Search

- 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:37:12.722Z
- Modified: 2026-10-19T13:10:00.110Z
- 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 pienumber parameter when updating the firewall country search defaults. When a user updates the default values for the firewall country search, the application issues an HTTP POST request to /cgi-bin/logs.cgi/firewalllogcountry.dat and the default number of countries to display is provided in the pienumber parameter. The value of this parameter is 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 firewall country search settings.

(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=13882> (issue-tracking, third-party-advisory)
- <https://www.vulncheck.com/advisories/ipfire-stored-xss-via-default-country-search> (third-party-advisory)

## Sources

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

---

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