Vulnerability Search Examples · Example 4 of 8 in Filters › CWE

CVEs whose CWE description contains the word shortcut, as CWE-59 (Link Following) does.

Operator
contains_all

enrichment.cwe.description is the CWE's description.

contains_all matches text that contains shortcut.

contains_all takes a list with a single word on this endpoint: a phrase with a space is answered with HTTP 400.

In the response, look at results[].enrichment.cwe[].description.

Request

What this example sends. Every parameter is documented on Search; the exact request is in the code panel.

ParameterValue
page_sizequery25
filters.must[0].namebodyenrichment.cwe.description
filters.must[0].typebodycontains_all
filters.must[0].valuebody["shortcut"]

Reference updated