Skip to Content
SCA & DependenciesVulnerability Priority

Vulnerability priority scoring

Every dependency advisory gets a priority score from 0 to 100 and a priority label. The score is calculated once, at scan time, after NVD and CISA KEV enrichment, and stored on the finding.

Scoring formula

Each input becomes a factor between 0 and 1. The score is the weighted sum, multiplied by 100 and rounded:

InputWeightFactor value
CVSS35%CVSS score ÷ 10. Uses the CVSS v4.0 score when one can be computed, otherwise the CVSS v3.1 base score (from NVD, the advisory, or an estimate).
EPSS20%EPSS probability × 10, capped at 1. An EPSS of 10% or higher gets the full factor. With no EPSS data, 5% is assumed (factor 0.5).
CISA KEV15%1 if the CVE is in the KEV catalog, otherwise 0.
Reachability15%From the supply-chain evidence status, see the table below.
Fix availability10%1.0 when no fixed version is published, 0.3 when one is. No fix means you cannot simply upgrade, so it ranks as more urgent.
Age5%Days since the NVD publish date: over 365 = 1.0, over 180 = 0.8, over 90 = 0.6, over 30 = 0.4, otherwise 0.2. An unparseable date gives 0.4. No date gives 0.

Reachability factor

The score reads the supply-chain evidence status recorded during the scan:

Evidence statusLabel on the advisoryFactor
reachableEntry-point path1.0
exposedComponent exposure0.8
usedUsed in source0.65
unknownEvidence pending0.5
path_onlyLockfile path0.35
not_observedUsage not observed0.2

If a finding has no reachability evidence at all, the 15% weight is dropped and the other five weights are scaled up so they still add up to 100%. The score then reflects only the signals that exist, instead of plugging in a default.

Attack-chain multiplier

After scoring, a finding that sits on a code-graph attack chain (where one finding’s code calls another’s) has its score multiplied by 1.4, capped at 100. The multiplier is applied at most once per finding.

Priority labels

LabelScore
Critical80-100
High60-79
Medium40-59
Low0-39

Worked example

CVSS 9.8, EPSS 2%, not in KEV, fix available, evidence status path_only, published 400 days ago:

CVSS 0.98 × 0.35 = 0.343 EPSS 0.20 × 0.20 = 0.040 KEV 0 × 0.15 = 0 Reachability 0.35 × 0.15 = 0.0525 Fix 0.3 × 0.10 = 0.030 Age 1.0 × 0.05 = 0.050 total = 0.5155 -> 52 -> Medium

A critical-severity CVE lands in Medium here because nothing points to real-world exploitation and a fix is available.

Fallback for findings without a stored score

If a finding has no stored score (or a score of 0), the priority endpoint calculates one on the fly with a simpler formula. CVSS contributes (CVSS ÷ 10) × 35. EPSS contributes probability × 20, assuming 5% when missing. KEV adds 15. A proven reachable finding adds 15, and any other finding adds 5. No fix adds 10, and an available fix adds 3. Age adds 1 to 5 points on the same day bands as above (2 when no date). Without a CVSS score, severity stands in: Critical 9.0, High 7.5, Medium 5.0, otherwise 2.5. The same label bands apply.

Ranking

Advisory lists in Vulnerabilities → All advisories (/dashboard/sca/vulnerabilities), the Exploit signal sort in Evidence search, and the repository Fix first queue all use the same order:

  1. CISA KEV membership
  2. EPSS band: 10% or higher first, then no EPSS score, then below 10%
  3. EPSS value within the band
  4. Reachability: Reachable, then Imported, then Not analysed, then Unreached
  5. CVSS
  6. Severity. The /sca/priority API uses the priority score at this step instead.

Where you see the score

  • On an advisory’s page (/dashboard/sca/vulnerability/<id>), in Details → Priority, shown as the score plus the label.
  • On a scan’s results page, as a Priority value out of 100.
  • In the API:
GET /api/sca/priority/{repository_id}?limit=50

Returns up to limit advisories (1-200, default 50) from the latest dependency scan, already ranked by exploit signal, each with priority_score, priority_label, cvss_score, epss_score, is_kev, fix_available and the reachability fields. stats covers every advisory on the scan, not just the returned page.

Custom weights

GET /api/sca/priority-weights and PUT /api/sca/priority-weights (org admins) store per-organization weights for the six inputs. Weights must be non-negative and sum to 100.

Key terms

  • EPSS estimates the probability that a CVE is exploited in the next 30 days. The data refreshes daily, so a re-scan can change the score.
  • CISA KEV is the catalog of vulnerabilities confirmed as exploited in the wild. KEV advisories always rank first, and the advisory page shows the KEV due date.