CVE-2025-34314: IPFire - Stored XSS
- Cve: CVE-2025-34314
- Name: IPFire - Stored XSS
- 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 SRC, DST, and COMMENT parameters when creating a time constraint rule. When a user adds a time constraint rule the application issues an HTTP POST request to /cgi-bin/urlfilter.cgi with the MODE parameter set to TIMECONSTRAINT and the source hostnames/IPs, destination, and remark provided in the SRC, DST, and COMMENT parameters respectively. 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 time constraint entry.
- Impact: Authenticated attackers can execute arbitrary JavaScript in other users' browsers, potentially leading to session hijacking or other client-side attacks.
- Remediation: Update to version 2.29 (Core Update 198) or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker must be authenticated to create time constraint rules
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00496
- Epss percentile: 0.43156
- Assignee: [email protected]
- Published at: 2025-10-28T15:16:11Z
- Age in days: 392
- Modified at: 2026-10-19T13:10:00Z
- Patch available: yes
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-34314
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugzilla.ipfire.org/show_bug.cgi?id=13889 | Issue Tracking, Third Party Advisory |
| https://www.vulncheck.com/advisories/ipfire-stored-xss-via-time-constraint-rule-url-filter | Third Party Advisory |
| https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ipfire:ipfire | = 2.29 core_update197, = 2.29 core_update196, = 2.29 core_update195, = 2.29 core_update194, = 2.29 core_update193, = 2.29 core_update192, = 2.29 core_update191, = 2.29 core_update190, = 2.29 core_update189, = 2.29 core_update188, = 2.29 core_update187, = 2.29 core_update186, = 2.29 core_update185, = 2.29 core_update184, = 2.29 core_update183, < 2.29 | no | nvd | /v1/products/ipfire/ipfire |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts