Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ipfire | Ipfire | 2.29 |
Related Weaknesses (CWE)
References
- https://github.com/4rdr/proofs/blob/main/info/IPFire-2.29-Stored-XSS-via-FirewalExploitThird Party Advisory
- https://github.com/4rdr/proofs/blob/main/info/IPFire-2.29-Stored-XSS-via-FirewalExploitThird Party Advisory
FAQ
What is CVE-2025-50975?
CVE-2025-50975 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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, allo...
How severe is CVE-2025-50975?
CVE-2025-50975 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-50975?
Check the references section above for vendor advisories and patch information. Affected products include: Ipfire Ipfire.