CVE-2025-4860 D-Link DAP-2695 Static Pool Settings Page adv_dhcps.php cross site scripting

Medium 4.8 Published Updated

Remote attackers can inject malicious scripts into the Static Pool Settings page of unsupported D-Link DAP-2695 devices via the f_mac parameter.

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-4860?

CVE-2025-4860 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 classified as problematic has been found in D-Link DAP-2695 120b36r137_ALL_en_20210528. Affected is an unknown function of the file /adv_dhcps.php of the component Static Pool Settings Page. The manipulation of the argument f_mac leads to cross site scripting. It is possible to launch the attack 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-4860?

It affects 1 product.

Products include Dlink Dap-2695 Firmware.

How do I fix CVE-2025-4860?

No fix has been published for CVE-2025-4860 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-4860 being exploited?

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

Sources

Also known as GHSA-5w7x-w3j5-cf23.

Is CVE-2025-4860 in your software?

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

Check your SBOMs for free