Skip to content

Add CVSSv4 support#1455

Merged
nscuro merged 1 commit intoDependencyTrack:masterfrom
nscuro:cvssv4
Mar 3, 2026
Merged

Add CVSSv4 support#1455
nscuro merged 1 commit intoDependencyTrack:masterfrom
nscuro:cvssv4

Conversation

@nscuro
Copy link
Copy Markdown
Member

@nscuro nscuro commented Mar 3, 2026

Description

Adds CVSSv4 support:

  • Adds CVSSv4 calculator to "Create Vulnerability" and vulnerability details modals.
  • Adds CVSSv4 columns in various data tables.
  • Adds CVSSv4 filters to global vuln audit view.

Addressed Issue

Relates to DependencyTrack/dependency-track#4707

Additional Details

API server PR: DependencyTrack/dependency-track#5863

i18n keys for locales other than English are populated with null values. They will fall back to English if another locale is selected.

image

Checklist

@nscuro nscuro added this to the 4.14.0 milestone Mar 3, 2026
Copilot AI review requested due to automatic review settings March 3, 2026 14:57
@nscuro nscuro added the enhancement New feature or request label Mar 3, 2026
@owasp-dt-bot
Copy link
Copy Markdown

owasp-dt-bot commented Mar 3, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@nscuro
Copy link
Copy Markdown
Member Author

nscuro commented Mar 3, 2026

i18n failure is an issue on master that we'll fix separately.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds CVSSv4 support across vulnerability creation/details UIs and audit/reporting views, enabling users to view, calculate, filter, and chart vulnerabilities using CVSSv4 in addition to existing CVSSv2/v3 data.

Changes:

  • Add a CVSSv4 calculator tab to vulnerability create and vulnerability details modals.
  • Prefer CVSSv4 scores in multiple views (vulnerability details, EPSS tables, EPSS-vs-CVSS chart) and add CVSSv4 score columns/filters to global audit views.
  • Add new i18n keys for CVSSv4 (English populated; other locales set to null for fallback).

Reviewed changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated 13 comments.

Show a summary per file
File Description
src/views/portfolio/vulnerabilities/VulnerabilityDetailsModal.vue Adds CVSSv4 calculator UI, parsing/generation, and score retrieval/display in the details modal.
src/views/portfolio/vulnerabilities/VulnerabilityCreateVulnerabilityModal.vue Adds CVSSv4 calculator UI and vector generation to the “Create Vulnerability” modal.
src/views/portfolio/vulnerabilities/Vulnerability.vue Prefers CVSSv4 score for base score display and hides subscore blocks when zero.
src/views/portfolio/projects/ProjectEpss.vue Prefers CVSSv4 when formatting CVSS scores in the EPSS table.
src/views/portfolio/projects/FindingAudit.vue Displays CVSSv4 vector when present in finding audit details.
src/views/portfolio/projects/ComponentVulnerabilities.vue Prefers CVSSv4 when formatting CVSS scores in component vulnerability tables.
src/views/globalAudit/VulnerabilityAuditGroupedByVulnerability.vue Adds CVSSv4 filter inputs, watchers, query params, and a CVSSv4 score column.
src/views/globalAudit/VulnerabilityAuditByOccurrence.vue Adds CVSSv4 filter inputs, watchers, query params, and a CVSSv4 score column.
src/views/dashboard/ChartEpssVsCvss.vue Prefers CVSSv4 score when plotting EPSS vs CVSS scatter data.
src/i18n/locales/en.json Adds English strings for new CVSSv4-related i18n keys.
src/i18n/locales/zh.json Adds CVSSv4-related i18n keys (fallback via null).
src/i18n/locales/zh-TW.json Adds CVSSv4-related i18n keys (fallback via null).
src/i18n/locales/uk-UA.json Adds CVSSv4-related i18n keys (fallback via null).
src/i18n/locales/ru.json Adds CVSSv4-related i18n keys (fallback via null).
src/i18n/locales/pt.json Adds CVSSv4-related i18n keys (fallback via null).
src/i18n/locales/pt-BR.json Adds CVSSv4-related i18n keys (fallback via null).
src/i18n/locales/pl.json Adds CVSSv4-related i18n keys (fallback via null).
src/i18n/locales/ja.json Adds CVSSv4-related i18n keys (fallback via null).
src/i18n/locales/it.json Adds CVSSv4-related i18n keys (fallback via null).
src/i18n/locales/hi.json Adds CVSSv4-related i18n keys (fallback via null).
src/i18n/locales/fr.json Adds CVSSv4-related i18n keys (fallback via null).
src/i18n/locales/es.json Adds CVSSv4-related i18n keys (fallback via null).
src/i18n/locales/de.json Adds CVSSv4-related i18n keys (fallback via null).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 23 out of 23 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: nscuro <[email protected]>
@nscuro nscuro merged commit 48b7e1b into DependencyTrack:master Mar 3, 2026
9 of 10 checks passed
@nscuro nscuro deleted the cvssv4 branch March 3, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants