CVE-2025-4858 D-Link DAP-2695 ARP Spoofing Prevention Page adv_arpspoofing.php cross site scripting

Medium 4.8 Published Updated

Remote attackers can inject malicious scripts into the ARP Spoofing Prevention page of unsupported D-Link access points, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-4858?

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.

Official 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.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2025-4858?

It affects 1 product.

Products include Dlink Dap-2695 Firmware.

How do I fix CVE-2025-4858?

No fix has been published for CVE-2025-4858 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-4858 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4858 exists.

Sources

Also known as GHSA-mhgh-jxm7-m3g9.

Is CVE-2025-4858 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free