# CVE-2025-50975: IPFire 2.29 web-based firewall interface (firewall.cgi) fails to sanitize several rule parameters such as PROT, SRCPORT, TGTPORT, dnatport,…

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A: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.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-26T00:00:00.000Z
- Modified: 2026-06-17T09:35:28.400Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

IPFire 2.29 web-based firewall interface (firewall.cgi) fails to sanitize several rule parameters such as PROT, SRC_PORT, TGT_PORT, dnatport, key, ruleremark, src_addr, std_net_tgt, and tgt_addr, allowing an authenticated administrator to inject persistent JavaScript. This stored XSS payload is executed whenever another admin views the firewall rules page, enabling session hijacking, unauthorized actions within the interface, or further internal pivoting. Exploitation requires only high-privilege GUI access, and the complexity of the attack is low.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ipfire ipfire: 2.29

## References

- <https://github.com/4rdr/proofs/blob/main/info/IPFire-2.29-Stored-XSS-via-Firewall.md> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2025-50975](https://www.cve.org/CVERecord?id=CVE-2025-50975), CVE Terms of Use, modified 2025-08-27
- NVD: [CVE-2025-50975](https://nvd.nist.gov/vuln/detail/CVE-2025-50975), Public domain, modified 2026-06-17

---

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