CVSS Cheat Sheet: Scoring Vulnerabilities with v3.1 and v4.0
Every CVSS metric on one page: what each value means, a concrete example for each, the differences between v3.1 and v4.0, and how to score a vulnerability you just found.
The Common Vulnerability Scoring System (CVSS), maintained by FIRST, turns the technical characteristics of a vulnerability into a number from 0.0 to 10.0. The number is only a summary. The real result is the vector string, which records every decision you made:
Both lines describe the same unauthenticated SQL injection that gives full database access. This page is a reference: one table per metric, an example for every value, and the differences between the two versions.
CVSS measures severity, not risk. A 9.8 on an isolated test box can matter less than a 6.5 on your payment API. Environmental metrics, exploit intelligence and business context turn severity into risk.
Severity ratings
Identical in v3.1 and v4.0.
Score
Rating
0.0
None
0.1 – 3.9
Low
4.0 – 6.9
Medium
7.0 – 8.9
High
9.0 – 10.0
Critical
Metric groups at a glance
CVSS v3.1
AV AC PR UI S C I A E RL RC
CVSS v4.0
AV AC AT PR UI VC VI VA SC SI SA E
Base metricsTemporal (v3.1) / Threat (v4.0)
The base metrics describe the vulnerability itself. The second group adjusts for exploit maturity; v4.0 keeps only Exploit Maturity from it. Environmental metrics (not shown) exist in both versions.
Group
v3.1
v4.0
Who sets it
Base
Exploitability + Scope + Impact
Exploitability + Vulnerable / Subsequent system impact
Vendor or finder
Temporal / Threat
E, RL, RC
E only
Vendor, threat intel
Environmental
CR, IR, AR + modified base metrics
CR, IR, AR + modified base metrics
The organisation that runs the system
Supplemental
none
S, AU, R, V, RE, U (no effect on the score)
Vendor or consumer
CVSS v3.1 base metrics
Attack Vector (AV): where must the attacker be?
Value
Meaning
Example
Network (N)
Exploitable remotely, across routers
SQL injection in a public web app
Adjacent (A)
Same broadcast domain, Bluetooth, Wi-Fi, local VPN segment
Bug in a Wi-Fi driver; LAN-only discovery service such as mDNS
Local (L)
Needs a local session, or a user opens a file
Privilege escalation via a writable service binary; malicious PDF
Physical (P)
Must touch the device
DMA attack through Thunderbolt; exploit via a USB port
Attack Complexity (AC): conditions outside the attacker’s control
Value
Meaning
Example
Low (L)
Works reliably, every time
Classic SQLi, IDOR
High (H)
Needs a race, a MitM position, or target-specific information first
Race condition in a token check; attack that needs a leaked internal hostname
Privileges Required (PR): what account do you need?
Value
Meaning
Example
None (N)
Unauthenticated
Login form injection
Low (L)
Normal user account
IDOR as a logged-in customer
High (H)
Admin or equivalent
RCE in an admin-only upload feature
User Interaction (UI)
Value
Meaning
Example
None (N)
No victim action needed
Unauthenticated API bug
Required (R)
A victim must click, open or browse
Reflected XSS, CSRF, malicious document
Scope (S): does the impact cross a security boundary?
Value
Meaning
Example
Unchanged (U)
Impact stays in the vulnerable component
SQLi reads the app’s own database
Changed (C)
Impact reaches a component with a different security authority
XSS: bug in the web app, code runs in the victim’s browser. VM escape. SSRF into the cloud metadata service
Scope is the most argued-about metric in v3.1. Ask: “Is the thing I attack the same thing that gets hurt?” If not, Scope is Changed.
Needs a race to be won, or a network position such as MitM
Race condition in a token check; attack on traffic between client and server
In v3.1 both cases were AC:H. v4.0 splits “the target has defences” (AC) from “the attack only works under certain conditions” (AT). A vulnerable non-default configuration is not AT:P: you score the configuration that is vulnerable.
User Interaction (UI): now three levels
Value
Meaning
Example
None (N)
No victim action
Unauthenticated API bug
Passive (P)
Victim only does normal things, without consciously helping
Stored XSS that fires when a user views a page; CSRF
Active (A)
Victim must take a specific, conscious action
Reflected XSS link that must be clicked; import a malicious file; ignore a warning
Impact: Vulnerable system vs. Subsequent system
Scope is gone. Instead, you rate impact twice:
Metrics
Meaning
VC, VI, VA
Impact on the vulnerable system itself
SC, SI, SA
Impact on subsequent systems: anything beyond it, such as the user’s browser, the hypervisor host, a cloud account or downstream services
Example, stored XSS: the web app itself loses nothing (VC:N/VI:N/VA:N), but the victim’s browser session does (SC:L/SI:L/SA:N).
Exploited in the wild, or tooling is public (e.g. listed in CISA KEV)
9.3
POC (P)
Public proof of concept, no known attacks
8.9
Unreported (U)
No public PoC or exploitation known
8.1
Not Defined (X)
Treated as Attacked
9.3
v4.0 supplemental metrics
Extra context for the consumer. They never change the score.
Metric
Values
Example
Safety (S)
Negligible, Present
Bug in an infusion pump can hurt people
Automatable (AU)
No, Yes
Wormable: all attack steps can be scripted at scale
Recovery (R)
Automatic, User, Irrecoverable
Bricked firmware = Irrecoverable
Value Density (V)
Diffuse, Concentrated
Mail server with thousands of mailboxes = Concentrated
Vulnerability Response Effort (RE)
Low, Moderate, High
Fix needs a hardware replacement = High
Provider Urgency (U)
Clear, Green, Amber, Red
Vendor’s own urgency rating
Environmental metrics (both versions)
These belong to the organisation that runs the system, not to the vendor.
Security requirements CR / IR / AR (High, Medium, Low): how much confidentiality, integrity and availability matter for this asset. A public marketing site: CR:L. A payment database: CR:H, IR:H.
Modified base metrics (MAV, MAC, MPR … in v3.1; MAV, MAC, MAT, MVC, MSC … in v4.0): override a base value where your deployment differs. Example: the vulnerable admin panel is only reachable from the internal network, so MAV:A.
v4.0 only: MSI:S and MSA:S (Safety) mark that integrity or availability loss on a subsequent system can injure people.
Same SQLi, scored for an internal app that only holds test data, with a public PoC and (v3.1) a vendor patch:
CVSS:3.1/…base…/E:P/RL:O/RC:C/CR:L/IR:L/AR:L/MAV:A → 6.2 Medium (base 9.8)CVSS:4.0/…base…/E:P/CR:L/IR:L/AR:L/MAV:A → 6.2 Medium (base 9.3)
v3.1 vs. v4.0: the differences
Topic
v3.1 (2019)
v4.0 (Nov 2023)
Scope
S:U / S:C, often disputed
Removed; replaced by separate vulnerable (VC/VI/VA) and subsequent (SC/SI/SA) impact
Attack Complexity
One metric mixes defences and preconditions
Split into AC (defences such as ASLR) and new AT (deployment preconditions, races)
User Interaction
None / Required
None / Passive / Active
Temporal → Threat
E, RL, RC
Only E (Attacked, POC, Unreported); RL and RC removed
Default if not set
X = worst case
X = worst case (E:X = Attacked)
Supplemental metrics
none
Safety, Automatable, Recovery, Value Density, Response Effort, Provider Urgency
Naming
Base, temporal and environmental score
Names state what was used: CVSS-B, CVSS-BT, CVSS-BE, CVSS-BTE
Calculation
Formula with weights
Lookup of “macro vectors” (equivalence classes) built from expert rankings
Scores
Many web bugs cluster at 9.8 / 7.5 / 6.1
Different values for the same bug, e.g. reflected XSS 6.1 → 5.1, unauthenticated DoS 7.5 → 8.7. Never compare scores across versions
OT / IoT
No safety concept
Safety in supplemental and environmental metrics
Both versions are in use. NVD and many vendors publish v3.1, and more and more also v4.0 vectors. Always write the version prefix (CVSS:3.1/ or CVSS:4.0/): the same letters mean different things.
Scoring a vulnerability you found
Pick one version per report and state it. v4.0 is current; v3.1 is still what most scanners and many clients expect.
Score the vulnerability, not the chain. Each finding gets its own vector. If you chain findings, describe the chain and score it as an additional finding.
Base metrics from facts you verified. Ask the questions in order:
Where must I be? → AV
Did I need to bypass a defence or win a race? → AC / AT
Which account did I use? → PR
Did a victim have to do something? → UI
What could I read, change, or break, and on which system? → C/I/A (v3.1 plus S), VC/VI/VA and SC/SI/SA (v4.0)
Use the lowest privileges and the reasonable worst-case impact you can justify. Do not score what might be possible after three more bugs.
Add exploit maturity if you know it: public exploit, PoC, nothing.
Add environmental metrics if you know the client’s asset. Otherwise leave them out and say so: the client’s risk team can add them.
Publish the vector, not just the number. The vector makes your reasoning reviewable and lets the client re-score with their context.
Common mistakes:
PR:N for a bug that needs a free self-registration account. Any account is PR:L.
S:C (v3.1) for every bug that “leads somewhere”. Only when the impacted component has a different security authority.
Rating C, I and A all High by reflex. A read-only IDOR has no integrity or availability impact.
Treating the score as a priority list. Combine it with exploit data (CISA KEV, EPSS) and asset value.