CVSS 4.0 by example: scoring step by step
A CVSS 4.0 score is built from the metrics of a vector, so it is checked metric by metric, and it measures severity, not risk. The mandatory Base group covers attack conditions (AV, AC, AT), privileges (PR), user interaction (UI) and impact on the vulnerable and other systems. Threat refines the score. A report gives the vector with the score; priority also depends on EPSS, KEV and context.
Pentest · Risk
A developer asks: "Why is it 7.1 and not 9.8?". How do you explain the number and not just state it?
A CVSS score without a vector is just a number to argue about. A vector, on the other hand, can be checked metric by metric. Let us see how to build a CVSS v4.0 vector from a finding's description and how a score differs from risk.
Mechanism: four groups of metrics. In the FIRST specification a score is made of groups. Only Base is mandatory; the rest refine it.
CVSS 4.0 metric groups
Example: an IDOR in GET /api/orders/{id}. A registered user sees someone else's order and does not change anything.
- AV:N — the attack is over the network;
- AC:L — no special conditions needed;
- AT:N — no attack requirements in the system (a new v4.0 metric);
- PR:L — an ordinary account is needed;
- UI:N — the victim does nothing;
- VC:H, VI:N, VA:N — reading other people's data, no writes, no outage;
- SC:N, SI:N, SA:N — other systems do not suffer.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/
VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
A calculator gives 7.1 (High), that is CVSS-B. Compare: an unauthenticated remote command with full impact (PR:N, VC:H, VI:H, VA:H) gives 9.3 (Critical). If you add E:P to the IDOR (only a proof of concept, no working exploit), the score drops to 5.7, now a CVSS-BT. The numbers match the FIRST calculator (first.org/cvss/calculator/v4-0): in a report always give the vector together with the score.
Severity is not risk. A practical example: the EchoLeak vulnerability (CVE-2025-32711) in Microsoft 365 Copilot received 9.3 under CVSS 3.1 from Microsoft, Critical. Reportedly Microsoft found no evidence of exploitation in real attacks, and the fix was made on the service side. The high score showed how dangerous it could be, not that an attack was already happening. To decide "what to fix first" add EPSS and CISA KEV (see the lesson "CVSS 4.0, risk and prioritisation: EPSS and KEV").
Common mistakes:
- "fitting" the vector to a desired number: metrics first, then the score;
- using
UI:Nfor an XSS where the user must open a link; - mixing Subsequent (
SC/SI/SA) with impact on the same system: those are other systems that the vulnerability gives access to; - publishing CVSS-B as "risk for us".
Check yourself
In a finding the attacker needs an administrator account to reach the vulnerability. Which metric do we change against the IDOR example and how does it affect the score?
Answer
The PR metric: from L to H (high privileges required). The score drops, because the requirement on the attacker is stronger.
How does a CVSS-BT score differ from CVSS-B?
Answer
Threat is added to Base: exploit maturity (E). If there is no exploit yet, the score is lower. Without E the worst case is taken by default.