10up / wpcli-vulnerability-scanner

WP-CLI command for checking installed plugins and themes for vulnerabilities reported on wpvulndb.com
MIT License
278 stars 40 forks source link

Use the new "introduced_in" API field to more accurately identify vulnerable versions #48

Closed TheLastCicada closed 2 years ago

TheLastCicada commented 3 years ago

Recently WPSCAN introduced the "introduced_in" field to the API to more accurately identify vulnerable versions. We should take advantage of this. Here's part of the announcement:

"This field is optional, and at the beginning we expect it to be used quite rarely, but hopefully will be used more and more as we expand our team. When used, the field will contain the version number of the WordPress, plugin, or theme, that the vulnerability was first introduced in. This will compliment the fixed_in field and help reduce false positive results where a user uses an older version of a plugin that is not vulnerable."

Correctly identifying the versions of the plugin that are vulnerable is critical to decision making and we should use this field.