CVE-2025-52357 Cross-site scripting in n/a

Medium 4.1 Published Updated

An authenticated attacker can execute arbitrary JavaScript in the router's web interface via the ping feature, potentially hijacking sessions or escalating privileges.

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

What is CVE-2025-52357?

CVE-2025-52357 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cross-Site Scripting (XSS) vulnerability exists in the ping diagnostic feature of FiberHome FD602GW-DX-R410 router (firmware V2.2.14), allowing an authenticated attacker to execute arbitrary JavaScript code in the context of the router s web interface. The vulnerability is triggered via user-supplied input in the ping form field, which fails to sanitize special characters. This can be exploited to hijack sessions or escalate privileges through social engineering or browser-based attacks.

Weakness: CWE-79

Which versions are affected by CVE-2025-52357?

How do I fix CVE-2025-52357?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-8pjw-5whg-c6q5.

Is CVE-2025-52357 in your software?

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

Check your SBOMs for free