CVE-2025-31165 Cross Site Scripting in NightWolf Penetration Platform

Medium 6.9 Published Updated

Attackers can execute arbitrary JavaScript via the markdown editor in the Logbug module, potentially compromising user sessions.

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

CVE-2025-31165 is a medium-severity cross-site scripting vulnerability in FPT Software NightWolf Penetration Platform, published on 27 Mar 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 in the Logbug module of NightWolf Penetration Testing Platform 1.2.2 allows attackers to execute JavaScript through the markdown editor feature.

Weakness: CWE-79

Which versions are affected by CVE-2025-31165?

How do I fix CVE-2025-31165?

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

There is no known exploitation of CVE-2025-31165 in the wild and no public exploit code.

Sources

Also known as GHSA-5rqf-7xxv-3745.

Is CVE-2025-31165 in your software?

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

Check your SBOMs for free