---
title: "Get Vulnerability by ID"
method: GET
path: "/v2/vulnerability/{id}"
---

# Get Vulnerability by ID

`GET /v2/vulnerability/{id}`

Get Vulnerability by ID

## Query parameters

- `fields` string

## Response `200`

OK

- object
  - `data` Vulnerability
    - `age_in_days` integer — Age in days for the cve
    - `assignee` string — Assignee for the cve
    - `cve_created_at` string, date-time — Created at date for the cve
    - `cve_id` string — CVE ID for the cve
    - `cve_updated_at` string, date-time — Updated at date for the cve
    - `cvss_metrics` string — CVSS Metrics for the cve
    - `cvss_score` number, double — CVSS Score for the cve
    - `epss_percentile` number, double — EPSS Percentile for the template.
    - `epss_score` number, double — EPSS Score for the template.
    - `is_kev` boolean — True if the cve is a kev
    - `is_vkev` boolean — True if the cve is a vkev
    - `is_oss` boolean — True if the cve is an oss cve
    - `is_patch_available` boolean — True if the cve has a patch available
    - `is_poc` boolean — True if the cve has a poc
    - `is_remote` boolean — True if the cve is a remote cve
    - `is_template` boolean — True if the cve has a template
    - `kev` KevInfo[] — KEV info for the cve
      - `added_date` string, date-time
      - `due_date` string, date-time
      - `known_ransomware_campaign_use` boolean
      - `source` string
    - `poc_count` integer — Count of pocs for the vulnerability
    - `pocs` POC[] — Contains all known proof of concepts for the vulnerability
      - `added_at` string, date-time
      - `source` string
      - `url` string
    - `nuclei_template` string — Raw nuclei template content
    - `is_auth` boolean — True if the CVE is an authenticated CVE
    - `is_exploit_seen` boolean — True if the CVE has been exploited in the wild
    - `poc_first_seen` string, date-time — First seen date for the poc
    - `vuln_status` string — Status of the cve
    - `citations` Citation[] — Citations for the vulnerability/template
      - `source` string — Source for the citation
      - `tags` string[] — Tags for the citation
      - `url` string — URL for the citation
      - `added_at` string, date-time — Added at date for the citation
    - `cwe` string[] — CWE IDs associated with the vulnerability
    - `description` string — Description of the vulnerability/template
    - `impact` string — Impact of the vulnerability/template
    - `name` string — Name of the vulnerability/template
    - `product` string — Product associated with the vulnerability/template
    - `remediation` string — Remediation for the vulnerability/template
    - `severity` string — Severity of the vulnerability/template
    - `vendor` string — Vendor associated with the vulnerability/template
    - `requirement_type` string — Type of the requirement
    - `requirements` string — Requirements for the vulnerability/template
    - `template_coverage` string — Coverage of the template
    - `vulnerability_impact` string[] — Impact of the vulnerability/template
    - `vulnerability_type` string — Type of the vulnerability/template
    - `weaknesses` Weakness[] — Weaknesses associated with the vulnerability
      - `cwe_id` string — CWE ID for the weakness
      - `cwe_name` string — CWE Name for the weakness
    - `category` string — Category of the template
    - `integration_id` string — Integration ID of the template
    - `integration_type` string — Integration type of the template
    - `pull_request` string — Pull request of the template
    - `ref` string — Reference of the template
    - `release_tag` string — Release tag of the template
    - `score` integer — Score of the template
    - `template_type` string — Type of the template
    - `is_draft` boolean — Is the template a draft
    - `is_early` boolean — Is the template in early access
    - `is_github` boolean — Is the template from github
    - `is_new` boolean — Is the template new
    - `is_pdteam` boolean — Is the template from pdteam
    - `directory` string — Directory of template
    - `filename` string — Filename of template
    - `uri` string — Uri of template
    - `author` string[] — Authors of the template
    - `digest` string — Digest of the template
    - `metadata` object — MetaData of the template
    - `raw` string — Raw string of the template
    - `tags` string[] — Tags of the template
    - `type` string — Type of the template
    - `organizations` string[] — Organizations of the template
    - `origin_template_id` string — Origin template ID of the template
    - `share_type` string — Share type of the template
    - `ttl` string — TTL of the template
    - `ttl_from` string — TTL from of the template
    - `users` integer[] — Users of the template
    - `ai_meta` AIMeta
      - `model_used` string — The AI model used to generate the template
      - `is_prompt_by_human` boolean — Whether the prompt was written by a human
      - `is_template_by_human` boolean — Whether the template was written by a human
      - `prompt` string — The prompt used to generate the template
    - `classification` Classification — Classification of template including additional metadata like cve-id, cwe-id etc
      - `cve-id` string[] — CVE IDs for the template
      - `cwe-id` string[] — CWE IDs for the template
      - `cvss-metrics` string — CVSS Metrics for the template
      - `cvss-score` number, float — CVSS Score for the template
      - `epss-score` number, float — EPSS Score for the template
      - `epss-percentile` number, float — EPSS Percentile for the template
      - `cpe` string — CPE for the template
    - `id` string — ID of the template
    - `user_id` integer — User ID of the template
    - `affected_products` ProductInfo[] — Affected products for the vulnerability
      - `cpe` string[] — CPE of the product
      - `product` string — Product of the product
      - `project_repos` object
      - `projects` string[] — Projects of the product
      - `vendor` string — Vendor of the product
      - `product_category` string
      - `product_type` string
      - `industry` string — Industry of the product
      - `tech_domain` string — Tech domain of the product
      - `category` string — Product category of the product
      - `deployment_model` string — Deployment model of the product
      - `summary` string — Summary of the product
    - `created_at` string, date-time — Created at timestamp
    - `doc_id` string — Document ID of the vulnerability
    - `doc_type` string — Type of the document
    - `exposure` VulnExposure
      - `max_hosts` integer — Maximum number of hosts for the vulnerability
      - `min_hosts` integer — Minimum number of hosts for the vulnerability
      - `values` ExposureStats[] — Values of the vulnerability
        - `fofa` SearchEngineStats
          - `max_hosts` integer — Maximum number of hosts for the product
          - `min_hosts` integer — Minimum number of hosts for the product
          - `queries` string[] — Queries for the product
        - `id` string
        - `max_hosts` integer
        - `min_hosts` integer
        - `shodan` SearchEngineStats
          - `max_hosts` integer — Maximum number of hosts for the product
          - `min_hosts` integer — Minimum number of hosts for the product
          - `queries` string[] — Queries for the product
    - `h1` H1Stats
      - `delta_rank` integer — Rank delta from previous day
      - `delta_reports` integer — Reports delta from previous day
      - `rank` integer — Rank of CVE in Hackerone
      - `reports` integer — Number of reports for CVE
    - `ntps` integer — Nuclei Template Priority Score
    - `updated_at` string, date-time — Updated at timestamp
    - `template_created_at` string, date-time — Timestamp when the template was created

## Other responses

- `400` — Example response
- `404` — Example response
- `500` — Example response
- `default` — Example response

---

[API](https://skmtc.net/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.net/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/versions/220f0adf9efd/schema)
