CVE-2025-34307
CVE-2025-34307 is a medium-severity vulnerability in Ipfire with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- CVSS v4: 5.1
- EPSS exploit prediction: 0% (36th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-36511
- Weakness: CWE-79
- Affected product: Ipfire
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-34307?
- 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.
- How severe is CVE-2025-34307?
- CVE-2025-34307 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2025-34307 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (36th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-34307?
- CVE-2025-34307 primarily affects Ipfire. In total, 16 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2025-34307?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-34307 have an EU (EUVD) identifier?
- Yes. CVE-2025-34307 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-36511.
- When was CVE-2025-34307 published?
- CVE-2025-34307 was published on 2025-10-28 and last updated on 2026-06-17.
References
- https://bugzilla.ipfire.org/show_bug.cgi?id=13882
- https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released
- https://www.vulncheck.com/advisories/ipfire-stored-xss-via-default-country-search
Affected products (16)
- cpe:2.3:a:ipfire:ipfire:*:*:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update183:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update184:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update185:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update186:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update187:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update188:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update189:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update190:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update191:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update192:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update193:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update194:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update195:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update196:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update197:*:*:*:*:*:*
More vulnerabilities in Ipfire
- CVE-2025-34312 — High (CVSS 8.8): IPFire versions prior to 2.29 (Core Update 198) contain a command injection vulnerability that allows an authenticated…
- CVE-2025-34311 — High (CVSS 8.8): IPFire versions prior to 2.29 (Core Update 198) contain a command injection vulnerability that allows an authenticated…
- CVE-2021-33393 — High (CVSS 8.8): lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account.…
- CVE-2018-16232 — High (CVSS 8.8): An authenticated command injection vulnerability exists in IPFire Firewall before 2.21 Core Update 124 in backup.cgi.…
- CVE-2017-9757 — High (CVSS 8.8): IPFire 2.19 has a Remote Command Injection vulnerability in ids.cgi via the OINKCODE parameter, which is mishandled by…
- CVE-2025-34304 — Medium (CVSS 6.5): IPFire versions prior to 2.29 (Core Update 198) contain a SQL injection vulnerability that allows an authenticated…
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →