Plugin inspection:

GD bbPress Attachments

Potentially unsafe

Last revised:

Confidence: Medium
This plugin has been given a short, targeted code review.

Before using this plugin, you should very carefully consider its potential problems and should conduct a thorough assessment. Read more about this recommendation.


This recommendation applies to version 2.1 of this plugin, but the most recent version is 2.3.1. These findings may no longer be correct.


  • Puts function parameters into SQL without escaping (code/attachments/public.php line 26, 29)
  • Output is not escaped correctly in the settings form, but it uses nonces
  • Vulnerable to reflected XSS
  • Vulnerable to LFI

Reason for the 'Potentially unsafe' result

The plugin contains or is likely to contain a vulnerability which could be exploited by an end user and which would compromise the site’s confidentiality, integrity or availability:

Failure criteria

  • Execution of unprepared SQL statements
  • Lack of proper output escaping

Read more about our failure criteria.