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

CVE-2025-47516

MEDIUM · 5.9 CVSS v3.1 Published 2025-05-07
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
63/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
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Scott Paterson Time Clock time-clock allows Stored XSS.This issue affects Time Clock: from n/a through <= 1.2.3.

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 · moderate confidence

A stored cross-site scripting (XSS) vulnerability exists in Scott Paterson Time Clock (time-clock) versions through 1.2.3. Attackers can inject malicious JavaScript payloads into application fields (such as user names, time entries, or comments) that are stored in the database and executed when other users view or interact with the affected pages in their browsers.

MitigationImplement context-aware output encoding for all user-supplied data displayed in web pages and apply server-side input validation with strict allowlists. Consider deploying a Content Security Policy (CSP) as a defense-in-depth measure.

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
High
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

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 if Scott Paterson Time Clock is deployed
    Search for time-clock application files on the server, typically in web root directories. Look for files named 'time-clock', 'timeclock', or check application metadata files for the product name.
    Affected if The application is found and appears to be the Scott Paterson Time Clock software.
  2. Determine the installed version
    Locate version information in the application - check README files, version.php, or config files within the time-clock installation directory. Compare against the affected range of versions through 1.2.3.
    Affected if The installed version is 1.2.3 or any earlier version.
  3. Verify user input fields are accessible
    Log into the application and navigate to areas where users can input data: user profile settings (name fields), time entry forms, or comment/comment fields. Confirm these fields accept and store text input.
    Affected if User-editable fields exist and accept arbitrary text input for storage.
  4. Inspect application source for output encoding
    Examine the application's PHP or template files that render user-supplied data (such as user names, time entries, or comments) back to the browser. Look for proper HTML encoding functions like htmlspecialchars() or equivalent context-aware encoding before output.
    Affected if User data is output to HTML pages without visible encoding functions, meaning it renders raw/unescaped.
  5. Check database for stored payloads
    Query the application's database tables that store user names, time entries, or comments for suspicious script tags, javascript: URIs, or event handler attributes (onerror, onload, onclick, etc.).
    Affected if Database contains user-supplied data with malicious script tags or event handlers that were not sanitized or encoded.

You are affected if Scott Paterson Time Clock version 1.2.3 or earlier is installed and user-supplied data in fields like names, time entries, or comments is rendered to browsers without HTML encoding.

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 context-aware output encoding for all user-supplied data displayed in web pages and apply server-side input validation with strict allowlists. Consider deploying a Content Security Policy (CSP) as a defense-in-depth measure.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation6.0 h
  • Testing4.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,440
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,904.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-47516 — 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-47516 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