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

CVE-2024-12021

HIGH · 8.5 CVSS v4.0 Published 2025-03-31
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
91/100
Remediation priority · Urgent
Remotely reachable Zero-click

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
Coverity versions prior to 2024.9.0 are vulnerable to stored cross-site scripting (XSS) in various administrative interfaces. The impact of exploitation may result in the compromise of local accounts managed by the Coverity platform as well as other standard impacts resulting from cross-site scripting.

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

Coverity static code analysis platform versions prior to 2024.9.0 contain stored XSS vulnerabilities in administrative interfaces. Malicious scripts can be injected through these interfaces and persist, executing when administrators view affected pages, potentially allowing attacker compromise of locally-managed Coverity user accounts.

MitigationUpgrade Coverity to version 2024.9.0 or later to obtain the vendor patch. If immediate upgrade is not feasible, implement strict input validation and output encoding on administrative interface fields and consider restricting administrative access as a temporary mitigation.

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
Authentication
X
User interaction
None
Scope
X

CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/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 installed Coverity version
    Access the Coverity platform help/about page, or run 'coverity --version' from the installation directory to retrieve the exact version number
    Affected if The version displayed is earlier than 2024.9.0
  2. Confirm administrative interface accessibility
    Verify that the Coverity administrative web interface (typically at /coverity/developer or /admin) is reachable and requires authentication
    Affected if Administrative interfaces are exposed without proper access controls or use default credentials
  3. Review administrative interface input fields
    Inspect the administrative interface pages (user management, project settings, or configuration pages) for input fields that accept user-supplied text without visible output encoding
    Affected if Fields accept HTML, JavaScript, or script-related characters (<, >, script tags) without sanitization feedback
  4. Check for existing malicious scripts in admin data
    Query the Coverity database or review user profiles, custom fields, or configuration entries in the admin interface for suspicious script tags or encoded JavaScript
    Affected if Any administrative records contain unexpected script tags, event handlers, or javascript: URIs
  5. Examine web server logs for XSS attempts
    Review Coverity or underlying web server access logs for patterns like '<script', 'javascript:', or HTML event handlers submitted to admin endpoints
    Affected if Logs show recent submissions of XSS payloads to admin-facing URLs

You are affected if your installed Coverity version is earlier than 2024.9.0 and administrative interfaces are accessible to users who could inject malicious scripts into input fields.

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 Coverity to version 2024.9.0 or later to obtain the vendor patch. If immediate upgrade is not feasible, implement strict input validation and output encoding on administrative interface fields and consider restricting administrative access as a temporary mitigation.

Recommended fix High confidence

Coverity 2024.9.0 or later

  1. 1. Back up the current Coverity installation and database before proceeding with any upgrade.
  2. 2. Download Coverity version 2024.9.0 or later from the official Synopsys download portal.
  3. 3. Review the upgrade guide specific to your deployment model (on-premises or cloud-managed).
  4. 4. Stop all Coverity services to ensure a clean upgrade process.
  5. 5. Run the upgrade installer following the documented upgrade procedure.
  6. 6. Verify that all services start successfully after the upgrade.
  7. 7. Validate that the administrative interfaces are accessible and functioning correctly.
  8. 8. Test that stored XSS payloads in administrative fields are properly sanitized or escaped.
Caveat Review Synopsys release notes for 2024.9.0 for any configuration or workflow changes that may affect your deployment

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

Have this fixed Scoped from the published advisory
  • Consultation6.0 h
  • Implementation12.0 h
  • Testing8.0 h
  • Review / QA4.0 h
30.0 hours of engineering $5,280
Get help mitigating

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

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