{"id":"CVE-2025-34301","state":"PUBLISHED","title":"IPFire < v2.29 Stored XSS via Location Group Creation","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 into the COUNTRY_CODE parameter when creating a location group. When a user adds a new location group, the application issues an HTTP POST request with the ACTION parameter set to savelocationgrp, and the value of the COUNTRY_CODE parameter determines the flag displayed for that group. The value of this parameter is stored and later rendered in the web interface without proper sanitization or encoding, allowing malicious scripts to be executed in the context of other users viewing the affected page.","publishedAt":"2025-10-28T14:35:16.716Z","updatedAt":"2025-10-28T16:02:33.613Z","severity":{"score":5.1,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["IPFire.org IPFire"],"affected":[{"vendor":"IPFire.org","product":"IPFire","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.29 (Core Update 198)","versionType":"custom"}],"modules":["/cgi-bin/fwhosts.cgi"]}],"references":["https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released","https://bugzilla.ipfire.org/show_bug.cgi?id=13876","https://www.vulncheck.com/advisories/ipfire-stored-xss-via-location-group-creation"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:09:03.054Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/34xxx/CVE-2025-34301.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-34301","state":"PUBLISHED","datePublished":"2025-10-28T14:35:16.716Z","dateUpdated":"2025-10-28T16:02:33.613Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2025-04-15T19:15:22.582Z"},"containers":{"cna":{"title":"IPFire < v2.29 Stored XSS via Location Group Creation","descriptions":[{"lang":"en","value":"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 into the COUNTRY_CODE parameter when creating a location group. When a user adds a new location group, the application issues an HTTP POST request with the ACTION parameter set to savelocationgrp, and the value of the COUNTRY_CODE parameter determines the flag displayed for that group. The value of this parameter is stored and later rendered in the web interface without proper sanitization or encoding, allowing malicious scripts to be executed in the context of other users viewing the affected page."}],"affected":[{"vendor":"IPFire.org","product":"IPFire","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.29 (Core Update 198)","versionType":"custom"}],"modules":["/cgi-bin/fwhosts.cgi"]}],"references":[{"url":"https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released","tags":["vendor-advisory","patch"]},{"url":"https://bugzilla.ipfire.org/show_bug.cgi?id=13876","tags":["issue-tracking"]},{"url":"https://www.vulncheck.com/advisories/ipfire-stored-xss-via-location-group-creation","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.1,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2025-10-28T14:35:16.716Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ipfire.org:ipfire:*:*:*:*:*:*:*:*","versionEndExcluding":"2.29_(core_update_198)","versionStartIncluding":"0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"credits":[{"lang":"en","type":"finder","value":"Alex Williams from Pellera Technologies"}],"impacts":[{"capecId":"CAPEC-592","descriptions":[{"lang":"en","value":"CAPEC-592 Stored XSS"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.4.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-10-28T16:02:22.376371Z","id":"CVE-2025-34301","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-28T16:02:33.613Z"}}]}}}