Cross-site Scripting (XSS)Weakness · CWE-79

CVE-2025-40975

MEDIUM · 5.1 CVSS v4.0 Published 2026-01-12
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
55/100
Remediation priority · Elevated
Remotely reachable

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 · unedited
Stored 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 confidence

Stored 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.

MitigationImplement 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify WorkDo HRMGo installation
    Check 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
  2. Confirm ticket module is active
    Log 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
  3. Verify the vulnerable endpoint exists
    Attempt 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
  4. Inspect description parameter handling
    Submit 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
  5. Confirm stored XSS execution context
    Create 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Implement 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.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing2.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,780
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-40975 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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