CVE-2025-40686 Reflected Cross-Site Scripting (XSS) vulnerability in Human Resource Management System

Medium 4.8 Published Updated

Attackers can execute arbitrary JavaScript in victims' browsers via a malicious URL in the employeeid parameter of the HRMS web application.

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

CVE-2025-40686 is a medium-severity cross-site scripting vulnerability in Human Resource Management System, published on 29 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

Reflected Cross-Site Scripting (XSS) in Human Resource Management System version 1.0. This vulnerability could allow an attacker to execute JavaScript code in the victim's browser by sending a malicious URL through the 'employeeid' parameter in/detailview.php.

Weakness: CWE-79

Which versions are affected by CVE-2025-40686?

It affects 1 product.

Products include Oretnom23 Human Resource Management System.

How do I fix CVE-2025-40686?

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

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

Sources

Also known as GHSA-g6w2-j3w7-hp5w.

Is CVE-2025-40686 in your software?

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

Check your SBOMs for free