{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-34305 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-34305 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-34305 is a medium-severity cross-site scripting vulnerability in IPFire.org IPFire, published on 28 Oct 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-34305 and fix it if it is affected.\n\nWhat it is: CVE-2025-34305 is a medium-severity cross-site scripting vulnerability in IPFire.org IPFire, published on 28 Oct 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-34305 in the wild and no public exploit code.\n\nAffected product: IPFire.org IPFire. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-34305/ (Markdown: https://insights.sbomify.com/CVE-2025-34305/index.md)","id":"CVE-2025-34305","markdown":"https://insights.sbomify.com/CVE-2025-34305/index.md","name":"CVE-2025-34305","record":{"aliases":["GHSA-93x4-rqcr-8jqh"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"IPFire firewall OS","requires_auth":"low_privilege","summary":"Authenticated attackers can inject scripts via multiple fields due to a sanitization bug, leading to stored XSS and potential account takeover in IPFire.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"ipfire","vendor":"ipfire"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"IPFire versions prior to 2.29 (Core Update 198) contain multiple stored cross-site scripting (XSS) vulnerabilities caused by a bug in the cleanhtml() function (/var/ipfire/header.pl) that fails to apply HTML-entity encoding to user input. When an authenticated user submits data to affected endpoints - for example, POST /cgi-bin/wakeonlan.cgi (CLIENT_COMMENT), /cgi-bin/dhcp.cgi (ADVOPT_DATA, FIX_REMARK, FIX_FILENAME, FIX_ROOTPATH), /cgi-bin/connscheduler.cgi (ACTION_COMMENT), /cgi-bin/dnsforward.cgi (REMARK), /cgi-bin/vpnmain.cgi (REMARK), or /cgi-bin/dns.cgi (REMARK) - the application calls escape() and HTML::Entities::encode_entities() but never assigns the sanitized result back to the output variable. The original unsanitized value is therefore 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 entries.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"IPFire \u003c v2.29 Stored XSS via Multiple Methods in cleanhtml()","id":"CVE-2025-34305","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"IPFire \u003c v2.29 Stored XSS via Default IP Search Value","id":"CVE-2025-34306"},"packages":[],"prev":{"headline":"IPFire \u003c v2.29 SQL Injection via OpenVPN Connection Logs","id":"CVE-2025-34304"},"products":["IPFire"],"published":"2025-10-28","related":[{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2021-33393","kev_date_added":null,"published":"2021-06-09"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2018-16232","kev_date_added":null,"published":"2018-10-17"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-9757","kev_date_added":null,"published":"2017-06-19"},{"cvss_score":8.7,"headline":"IPFire \u003c v2.29 Command Injection via Proxy Report Creation","id":"CVE-2025-34311","kev_date_added":null,"published":"2025-10-28"},{"cvss_score":8.7,"headline":"IPFire \u003c v2.29 Command Injection via URL Filter Blacklist","id":"CVE-2025-34312","kev_date_added":null,"published":"2025-10-28"},{"cvss_score":7.1,"headline":"IPFire \u003c v2.29 SQL Injection via OpenVPN Connection Logs","id":"CVE-2025-34304","kev_date_added":null,"published":"2025-10-28"},{"cvss_score":6.5,"headline":"Command injection in n/a","id":"CVE-2025-50974","kev_date_added":null,"published":"2025-08-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-29","vendors":["IPFire.org"]},"summary":"Authenticated attackers can inject scripts via multiple fields due to a sanitization bug, leading to stored XSS and potential account takeover in IPFire.","url":"https://insights.sbomify.com/CVE-2025-34305/"}