{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4858 exists.","fix":"No fix has been published for CVE-2025-4858 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-4858 is a medium-severity cross-site scripting vulnerability in D-Link DAP-2695, published on 18 May 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-4858 and fix it if it is affected.\n\nWhat it is: CVE-2025-4858 is a medium-severity cross-site scripting vulnerability in D-Link DAP-2695, published on 18 May 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4858 exists.\n\nAffected product: D-Link DAP-2695. 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-4858/ (Markdown: https://insights.sbomify.com/CVE-2025-4858/index.md)","id":"CVE-2025-4858","markdown":"https://insights.sbomify.com/CVE-2025-4858/index.md","name":"CVE-2025-4858","record":{"aliases":["GHSA-mhgh-jxm7-m3g9"],"analysis":{"component_type":"network_device","fix_type":"end_of_life","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"D-Link access point","requires_auth":"high_privilege","summary":"Remote attackers can inject malicious scripts into the ARP Spoofing Prevention page of unsupported D-Link access points, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"dap-2695_firmware","vendor":"dlink"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A vulnerability was found in D-Link DAP-2695 120b36r137_ALL_en_20210528. It has been declared as problematic. This vulnerability affects unknown code of the file /adv_arpspoofing.php of the component ARP Spoofing Prevention Page. The manipulation of the argument harp_mac leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well. This vulnerability only affects products that are no longer supported by the maintainer.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"D-Link DAP-2695 ARP Spoofing Prevention Page adv_arpspoofing.php cross site scripting","id":"CVE-2025-4858","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":5,"next":{"headline":"D-Link DAP-2695 MAC Bypass Settings Page adv_macbypass.php cross site scripting","id":"CVE-2025-4859"},"packages":[],"prev":{"headline":"Newsletters \u003c= 4.9.9.9 - Authenticated (Administrator+) Local File Inclusion","id":"CVE-2025-4857"},"products":["DAP-2695"],"published":"2025-05-18","related":[{"cvss_score":7.5,"headline":"D-Link DAP-2695 Firmware Update sub_40C6B8 signature verification","id":"CVE-2025-12295","kev_date_added":null,"published":"2025-10-27"},{"cvss_score":5.1,"headline":"D-Link DAP-2695 Firmware Update sub_4174B0 os command injection","id":"CVE-2025-12296","kev_date_added":null,"published":"2025-10-27"},{"cvss_score":5.1,"headline":"D-Link DAP-2695 Firmware Update rgbin fwupdater_main os command injection","id":"CVE-2025-11665","kev_date_added":null,"published":"2025-10-13"},{"cvss_score":4.8,"headline":"D-Link DAP-2695 MAC Bypass Settings Page adv_macbypass.php cross site scripting","id":"CVE-2025-4859","kev_date_added":null,"published":"2025-05-18"},{"cvss_score":4.8,"headline":"D-Link DAP-2695 Static Pool Settings Page adv_dhcps.php cross site scripting","id":"CVE-2025-4860","kev_date_added":null,"published":"2025-05-18"}],"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-19","vendors":["D-Link"]},"summary":"Remote attackers can inject malicious scripts into the ARP Spoofing Prevention page of unsupported D-Link access points, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2025-4858/"}