CVE-2025-40975
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedStored Cross-Site Scripting (XSS) vulnerability in WorkDo's HRMGo, consisting of a lack of proper validation of user input by sending a POST request to ‘/hrmgo/ticket/changereply’, using the ‘description’ parameter.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceStored Cross-Site Scripting (XSS) vulnerability in WorkDo HRMGo's ticket reply functionality. The 'description' parameter in the POST request to '/hrmgo/ticket/changereply' lacks proper input validation, allowing malicious JavaScript to be stored and executed when other users view the ticket reply.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- Authentication
- X
- User interaction
- P
- Scope
- X
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:L/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify WorkDo HRMGo installationCheck your web server for the presence of WorkDo HRMGo application files, typically found in the web root directory. Look for directories or files containing 'hrmgo' or 'hrugo' in the path. If you have access to the application admin panel, verify the software name in the system information or about page.Affected if WorkDo HRMGo software is installed on the server
-
Confirm ticket module is activeLog into the WorkDo HRMGo admin dashboard and navigate to the modules or extensions section. Verify that the 'Ticket' or 'HR Ticket' module is enabled. Alternatively, check the database for tables related to tickets (look for tables with 'ticket' in the name).Affected if The Ticket module is enabled and accessible to users
-
Verify the vulnerable endpoint existsAttempt to access or send a POST request to /hrmgo/ticket/changereply endpoint. This can be done by intercepting web traffic while using the ticket reply feature, or by checking your web server logs for requests to this path. Check if the endpoint responds to POST requests.Affected if The endpoint /hrmgo/ticket/changereply is reachable and accepts POST requests
-
Inspect description parameter handlingSubmit a ticket reply with a non-malicious test string (such as '<script>console.log("test")</script>') in the description field. Then retrieve the stored reply (either from the database directly or by viewing the ticket as another user) and examine whether the raw script tags are stored and returned without sanitization or encoding.Affected if The description parameter content is stored and returned exactly as submitted without sanitization or HTML encoding
-
Confirm stored XSS execution contextCreate a ticket reply containing a script tag with a simple alert or console log (e.g., '<img src=x onerror=alert(1)>'), then view that reply as a different user account. Verify if the JavaScript executes in the browser of the viewing user.Affected if Malicious JavaScript in the description field executes when other users view the ticket reply
A user is affected if WorkDo HRMGo is installed with the Ticket module enabled and the /hrmgo/ticket/changereply endpoint stores description parameter content without sanitization, allowing stored XSS to execute when other users view replies.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataImplement robust input validation and output encoding for the 'description' parameter - sanitize any HTML/script tags on input and properly encode output when rendering ticket replies.
- Consultation2.0 h
- Implementation4.0 h
- Testing2.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,848.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-40975 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-40975 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data