Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Looks up CVE records via MITRE and NVD for severity, CVSS scores, affected products, and references.
96% 100%+4 ptsof test cases passed
Passed 24 of 24 test cases with the skill, and 23 of 24 without it.
If a recently disclosed CVE has no CVSS score listed in the CNA metrics yet, what fallback string should a PowerShell lookup script print for the score?
Outputs N/A when the CVSS base score is missing.
3 of 3 safety checks passed
Look up any CVE (Common Vulnerabilities and Exposures) by ID to get severity, CVSS score, affected products, and reference links. Uses the MITRE CVE API (cveawg.mitre.org) with automatic fallback to the NVD (National Vulnerability Database) for richer data.
No API key required. Optionally set NVD_API_KEY for higher rate limits on the NVD endpoint.
$cveId = "CVE-2021-44228"
$url = "https://cveawg.mitre.org/api/cve/$cveId"
$result = Invoke-RestMethod -Uri $url
$cna = $result.containers.cna
$desc = ($cna.descriptions | Where-Object { $_.lang -eq 'en' } | Select-Object -First 1).value
$cvss = $cna.metrics | ForEach-Object {
$_.PSObject.Properties | Where-Object { $_.Name -like 'cvssV3*' } |
Select-Object -First 1 -ExpandProperty Value
} | Select-Object -First 1
Write-Host "CVE: $($result.cveMetadata.cveId)"
Write-Host "State: $($result.cveMetadata.state)"
Write-Host "Published: $($result.cveMetadata.datePublished)"
Write-Host "Score: $($cvss.baseScore) ($($cvss.baseSeverity))"
Write-Host "Description: $desc"
Write-Host "References: $(($cna.references | Select-Object -First 3 -ExpandProperty url) -join ', ')"
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.