CWE Lookup
cwe_lookupCWE weakness details (description, mitigations, examples, OWASP Top 10 category in 2021 and 2025), with how many CVEs and CISA KEV entries name it. To list them, call the cve_search tool with its cwe_id argument.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cwe_id": "<cwe_id>"
},
"name": "cwe_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwe_id | Yes | CWE ID, e.g. CWE-79 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| cwe_id | Yes | ||
| status | Yes | MITRE's status of the entry, such as Stable, Draft or Incomplete. May be empty. | |
| credits | Yes | ||
| avg_cvss | Yes | Mean CVSS v3 score of the CVEs with this CWE that have one. null when none has one. | |
| avg_epss | Yes | Mean EPSS of its scored CVEs. null if none is scored or the mean rounds to 0.0000. | |
| examples | Yes | Each is a reference, usually a CVE ID, then ": " and a note when MITRE gives one. | |
| cve_count | Yes | CVEs with this CWE, rejected ones included. | |
| kev_count | Yes | CVEs with this CWE that are in CISA KEV, rejected ones included. | |
| parent_cwe | Yes | Empty when the CWE has no parent. | |
| updated_at | Yes | UTC YYYY-MM-DDTHH:MM:SSZ when the CWE sync last wrote this record. Empty when unknown. | |
| abstraction | Yes | MITRE's level of the entry, such as Pillar, Class, Base or Variant. May be empty. | |
| description | Yes | ||
| mitigations | Yes | ||
| owasp_top10 | Yes | OWASP Top 10 categories naming this CWE, oldest edition first. Empty: none. null: mapping not loaded. | |
| extended_description | Yes | ||
| likelihood_of_exploit | Yes | High, Medium, Low or Unknown. Empty when MITRE gives none. |