curl --request GET \
--url https://api.projectdiscovery.io/v2/vulnerability/search \
--header 'X-API-Key: <api-key>'{
"count": 123,
"facets": {},
"results": [
{
"age_in_days": 123,
"assignee": "<string>",
"cve_created_at": "2023-11-07T05:31:56Z",
"cve_id": "<string>",
"cve_updated_at": "2023-11-07T05:31:56Z",
"cvss_metrics": "3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cvss_score": 9.8,
"epss_percentile": 0.42509,
"epss_score": 0.42509,
"is_kev": true,
"is_vkev": true,
"is_oss": true,
"is_patch_available": true,
"is_poc": true,
"is_remote": true,
"is_template": true,
"kev": [
{
"added_date": "2023-11-07T05:31:56Z",
"due_date": "2023-11-07T05:31:56Z",
"known_ransomware_campaign_use": true,
"source": "<string>"
}
],
"poc_count": 123,
"pocs": [
{
"added_at": "2023-11-07T05:31:56Z",
"source": "<string>",
"url": "<string>"
}
],
"nuclei_template": "<string>",
"is_auth": true,
"is_exploit_seen": true,
"poc_first_seen": "2023-11-07T05:31:56Z",
"vuln_status": "<string>",
"citations": [
{
"source": "<string>",
"tags": [
"<string>"
],
"url": "<string>",
"added_at": "2023-11-07T05:31:56Z"
}
],
"cwe": [
"<string>"
],
"description": "<string>",
"impact": "<string>",
"name": "<string>",
"product": "<string>",
"remediation": "<string>",
"severity": "<string>",
"vendor": "<string>",
"requirement_type": "<string>",
"requirements": "<string>",
"template_coverage": "<string>",
"vulnerability_impact": [
"<string>"
],
"vulnerability_type": "<string>",
"weaknesses": [
{
"cwe_id": "<string>",
"cwe_name": "<string>"
}
],
"category": "<string>",
"integration_id": "<string>",
"integration_type": "<string>",
"pull_request": "<string>",
"ref": "<string>",
"release_tag": "<string>",
"score": 123,
"template_type": "<string>",
"is_draft": true,
"is_early": true,
"is_github": true,
"is_new": true,
"is_pdteam": true,
"directory": "<string>",
"filename": "<string>",
"uri": "<string>",
"author": [
"<string>"
],
"digest": "<string>",
"metadata": {},
"raw": "<string>",
"tags": [
"<string>"
],
"type": "<string>",
"organizations": [
"<string>"
],
"origin_template_id": "<string>",
"share_type": "<string>",
"ttl": "<string>",
"ttl_from": "<string>",
"users": [
123
],
"ai_meta": {
"model_used": "<string>",
"is_prompt_by_human": true,
"is_template_by_human": true,
"prompt": "<string>"
},
"classification": {
"cve-id": [
"<string>"
],
"cwe-id": [
"<string>"
],
"cvss-metrics": "<string>",
"cvss-score": 123,
"epss-score": 123,
"epss-percentile": 123,
"cpe": "<string>"
},
"id": "<string>",
"user_id": 123,
"affected_products": [
{
"cpe": [
"<string>"
],
"product": "<string>",
"project_repos": {},
"projects": [
"<string>"
],
"vendor": "<string>",
"product_category": "<string>",
"product_type": "<string>",
"industry": "<string>",
"tech_domain": "<string>",
"category": "<string>",
"deployment_model": "<string>",
"summary": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"doc_id": "<string>",
"doc_type": "<string>",
"exposure": {
"max_hosts": 123,
"min_hosts": 123,
"values": [
{
"fofa": {
"max_hosts": 123,
"min_hosts": 123,
"queries": [
"<string>"
]
},
"id": "<string>",
"max_hosts": 123,
"min_hosts": 123,
"shodan": {
"max_hosts": 123,
"min_hosts": 123,
"queries": [
"<string>"
]
}
}
]
},
"h1": {
"delta_rank": 123,
"delta_reports": 123,
"rank": 123,
"reports": 123
},
"ntps": 123,
"updated_at": "2023-11-07T05:31:56Z",
"template_created_at": "2023-11-07T05:31:56Z"
}
],
"total": 123
}Full text search on vulnerabilities
curl --request GET \
--url https://api.projectdiscovery.io/v2/vulnerability/search \
--header 'X-API-Key: <api-key>'{
"count": 123,
"facets": {},
"results": [
{
"age_in_days": 123,
"assignee": "<string>",
"cve_created_at": "2023-11-07T05:31:56Z",
"cve_id": "<string>",
"cve_updated_at": "2023-11-07T05:31:56Z",
"cvss_metrics": "3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cvss_score": 9.8,
"epss_percentile": 0.42509,
"epss_score": 0.42509,
"is_kev": true,
"is_vkev": true,
"is_oss": true,
"is_patch_available": true,
"is_poc": true,
"is_remote": true,
"is_template": true,
"kev": [
{
"added_date": "2023-11-07T05:31:56Z",
"due_date": "2023-11-07T05:31:56Z",
"known_ransomware_campaign_use": true,
"source": "<string>"
}
],
"poc_count": 123,
"pocs": [
{
"added_at": "2023-11-07T05:31:56Z",
"source": "<string>",
"url": "<string>"
}
],
"nuclei_template": "<string>",
"is_auth": true,
"is_exploit_seen": true,
"poc_first_seen": "2023-11-07T05:31:56Z",
"vuln_status": "<string>",
"citations": [
{
"source": "<string>",
"tags": [
"<string>"
],
"url": "<string>",
"added_at": "2023-11-07T05:31:56Z"
}
],
"cwe": [
"<string>"
],
"description": "<string>",
"impact": "<string>",
"name": "<string>",
"product": "<string>",
"remediation": "<string>",
"severity": "<string>",
"vendor": "<string>",
"requirement_type": "<string>",
"requirements": "<string>",
"template_coverage": "<string>",
"vulnerability_impact": [
"<string>"
],
"vulnerability_type": "<string>",
"weaknesses": [
{
"cwe_id": "<string>",
"cwe_name": "<string>"
}
],
"category": "<string>",
"integration_id": "<string>",
"integration_type": "<string>",
"pull_request": "<string>",
"ref": "<string>",
"release_tag": "<string>",
"score": 123,
"template_type": "<string>",
"is_draft": true,
"is_early": true,
"is_github": true,
"is_new": true,
"is_pdteam": true,
"directory": "<string>",
"filename": "<string>",
"uri": "<string>",
"author": [
"<string>"
],
"digest": "<string>",
"metadata": {},
"raw": "<string>",
"tags": [
"<string>"
],
"type": "<string>",
"organizations": [
"<string>"
],
"origin_template_id": "<string>",
"share_type": "<string>",
"ttl": "<string>",
"ttl_from": "<string>",
"users": [
123
],
"ai_meta": {
"model_used": "<string>",
"is_prompt_by_human": true,
"is_template_by_human": true,
"prompt": "<string>"
},
"classification": {
"cve-id": [
"<string>"
],
"cwe-id": [
"<string>"
],
"cvss-metrics": "<string>",
"cvss-score": 123,
"epss-score": 123,
"epss-percentile": 123,
"cpe": "<string>"
},
"id": "<string>",
"user_id": 123,
"affected_products": [
{
"cpe": [
"<string>"
],
"product": "<string>",
"project_repos": {},
"projects": [
"<string>"
],
"vendor": "<string>",
"product_category": "<string>",
"product_type": "<string>",
"industry": "<string>",
"tech_domain": "<string>",
"category": "<string>",
"deployment_model": "<string>",
"summary": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"doc_id": "<string>",
"doc_type": "<string>",
"exposure": {
"max_hosts": 123,
"min_hosts": 123,
"values": [
{
"fofa": {
"max_hosts": 123,
"min_hosts": 123,
"queries": [
"<string>"
]
},
"id": "<string>",
"max_hosts": 123,
"min_hosts": 123,
"shodan": {
"max_hosts": 123,
"min_hosts": 123,
"queries": [
"<string>"
]
}
}
]
},
"h1": {
"delta_rank": 123,
"delta_reports": 123,
"rank": 123,
"reports": 123
},
"ntps": 123,
"updated_at": "2023-11-07T05:31:56Z",
"template_created_at": "2023-11-07T05:31:56Z"
}
],
"total": 123
}The numbers of items to return
The numbers of items to skip
Sort results in ascending order (CSV field names)
Sort results in descending order (CSV field names)
List of fields to return(comma separated)
List of fields to return(comma separated)
List of fields to return(comma separated)
query
Whether to highlight the search results
Number of facets to return
OK
Show child attributes
Age in days for the cve
Assignee for the cve
Created at date for the cve
CVE ID for the cve
Updated at date for the cve
CVSS Metrics for the cve
"3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
CVSS Score for the cve
9.8
EPSS Percentile for the template.
0.42509
EPSS Score for the template.
0.42509
True if the cve is a kev
True if the cve is a vkev
True if the cve is an oss cve
True if the cve has a patch available
True if the cve has a poc
True if the cve is a remote cve
True if the cve has a template
Count of pocs for the vulnerability
Raw nuclei template content
True if the CVE is an authenticated CVE
True if the CVE has been exploited in the wild
First seen date for the poc
Status of the cve
CWE IDs associated with the vulnerability
Description of the vulnerability/template
Impact of the vulnerability/template
Name of the vulnerability/template
Product associated with the vulnerability/template
Remediation for the vulnerability/template
Severity of the vulnerability/template
Vendor associated with the vulnerability/template
Type of the requirement
Requirements for the vulnerability/template
Coverage of the template
Impact of the vulnerability/template
Type of the vulnerability/template
Category of the template
Integration ID of the template
Integration type of the template
Pull request of the template
Reference of the template
Release tag of the template
Score of the template
Type of the template
Is the template a draft
Is the template in early access
Is the template from github
Is the template new
Is the template from pdteam
Directory of template
Filename of template
Uri of template
Authors of the template
Digest of the template
MetaData of the template
Raw string of the template
Tags of the template
Type of the template
Organizations of the template
Origin template ID of the template
Share type of the template
TTL of the template
TTL from of the template
Users of the template
AI Meta of the template
Show child attributes
The AI model used to generate the template
Whether the prompt was written by a human
Whether the template was written by a human
The prompt used to generate the template
Classification of the template
Show child attributes
CVE IDs for the template
CWE IDs for the template
CVSS Metrics for the template
CVSS Score for the template
EPSS Score for the template
EPSS Percentile for the template
CPE for the template
ID of the template
User ID of the template
Affected products for the vulnerability
Show child attributes
CPE of the product
Product of the product
Projects of the product
Vendor of the product
Industry of the product
Tech domain of the product
Product category of the product
Deployment model of the product
Summary of the product
Created at timestamp
Document ID of the vulnerability
Type of the document
Exposure stats for the vulnerability
Show child attributes
Maximum number of hosts for the vulnerability
Minimum number of hosts for the vulnerability
Values of the vulnerability
Show child attributes
Nuclei Template Priority Score
Updated at timestamp
Timestamp when the template was created
Was this page helpful?