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

CVE-2025-66421

MEDIUM · 5.4 CVSS v3.1 Published 2025-11-30
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
58/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
Tryton sao (aka tryton-sao) before 7.6.11 allows XSS because it does not escape completion values. This is fixed in 7.6.11, 7.4.21, 7.0.40, and 6.0.69.

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

Tryton sao (the web client) contains a reflected XSS vulnerability in its autocomplete/completion feature. The application fails to properly escape user-supplied or database-derived values before rendering them in completion dropdowns, allowing attackers to inject malicious JavaScript code that executes in victims' browsers.

MitigationUpgrade to one of the patched versions (7.6.11, 7.4.21, 7.0.40, or 6.0.69) which include proper escaping of completion values. Alternatively, apply the upstream patch that adds HTML entity encoding to all completion value rendering.

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

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

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. Confirm Tryton sao web client is in use
    Check if the Tryton web client (sao) is deployed by accessing the application's web interface or reviewing the server's installed packages. Look for the sao JavaScript files or web client assets in the installation directory.
    Affected if The application uses Tryton's web client (sao) rather than the GTK client only.
  2. Identify the installed Tryton version
    Run 'pip show trytond' or check the package.json/version file in the sao web client directory to determine the exact version number. If using a packaged distribution, check the installed packages with 'dpkg -l' or 'rpm -qi tryton-*'.
    Affected if The installed version is lower than 7.6.11, 7.4.21, 7.0.40, or 6.0.69, or the version cannot be determined and falls within the 6.0.x through 7.6.x release families.
  3. Verify autocomplete/completion feature is enabled
    Review the Tryton server configuration (trytond.conf) for 'autocomplete' related settings, or inspect the sao web client JavaScript for completion module loading. Log into the web client and test if completion/dropdown functionality exists in search fields.
    Affected if The autocomplete/completion feature is enabled and functional in the web interface.
  4. Inspect completion dropdown rendering for unescaped content
    Use browser developer tools to view the HTML source of any autocomplete dropdown in the web client. Search for input fields that trigger completion and examine the rendered HTML for unescaped characters like <, >, or quotes in the dropdown values.
    Affected if The completion dropdowns render raw HTML or JavaScript characters without encoding, potentially allowing script injection.

If Tryton sao web client is in use, the installed version is below the patched releases (7.6.11, 7.4.21, 7.0.40, or 6.0.69), and autocomplete/completion dropdowns are actively used, the environment is likely affected by this reflected XSS vulnerability.

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.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to one of the patched versions (7.6.11, 7.4.21, 7.0.40, or 6.0.69) which include proper escaping of completion values. Alternatively, apply the upstream patch that adds HTML entity encoding to all completion value rendering.

Recommended fix High confidence

7.6.11 (or the latest 7.6.x release)

  1. 1. Identify the currently installed version of tryton-sao by checking the package version or the sao version in the tryton installation
  2. 2. Determine which release series is currently in use (6.0.x, 7.0.x, 7.4.x, or 7.6.x)
  3. 3. For 6.0.x series: upgrade to version 6.0.69 or later
  4. 4. For 7.0.x series: upgrade to version 7.0.40 or later
  5. 5. For 7.4.x series: upgrade to version 7.4.21 or later
  6. 6. For 7.6.x series: upgrade to version 7.6.11 or later
  7. 7. Verify the upgrade was successful by checking the installed sao version and testing the application
Caveat No specific breaking changes mentioned in this CVE; standard version upgrade considerations apply

Generated from the published advisory — verify against the referenced sources before acting.

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

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

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