Gravity Forms PDF Security & Risk Analysis

wordpress.org/plugins/gravity-forms-pdf

A basic plugin that allows Gravity Forms Entries to be Viewed and Download in a Printer Friendly PDF Layout

30 active installs v0.0.2 PHP + WP 3.2.3+ Updated Unknown
exportgravity-formspdf
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Gravity Forms PDF Safe to Use in 2026?

Generally Safe

Score 100/100

Gravity Forms PDF has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs
Risk Assessment

The "gravity-forms-pdf" plugin v0.0.2 exhibits a mixed security posture. On the positive side, it demonstrates good practices by utilizing prepared statements for all SQL queries and having a clean vulnerability history with no recorded CVEs. The absence of a significant attack surface through AJAX handlers, REST API routes, shortcodes, and cron events is also a strength. However, several concerning signals emerge from the static analysis.

The presence of the "create_function" dangerous function, while not directly tied to a taint flow in this analysis, represents a potential for insecure code execution if used with unsanitized input. More critically, the taint analysis revealed 4 flows with unsanitized paths, one of which is rated as High severity. This indicates a potential for data to be manipulated or exploited due to improper sanitization. Furthermore, only 23% of output is properly escaped, leaving a substantial portion vulnerable to cross-site scripting (XSS) attacks if user-controlled data is echoed directly. The complete lack of nonce checks and capability checks on any entry points is a significant oversight, as these are fundamental security mechanisms for preventing unauthorized actions and ensuring proper authentication/authorization.

In conclusion, while the plugin has a clean history and employs secure SQL practices, the identified taint flows, poor output escaping, and absence of critical security checks like nonces and capability checks present notable risks. The use of the "create_function" also warrants attention. Addressing these issues would significantly improve the plugin's overall security. The bundled libraries, dompdf and TCPDF, could also represent a risk if they are outdated or have known vulnerabilities, though this is not directly indicated in the provided data.

Key Concerns

  • High severity taint flow with unsanitized path
  • Low output escaping percentage (23%)
  • No nonce checks
  • No capability checks
  • Dangerous function 'create_function' used
  • 4 flows with unsanitized paths
Vulnerabilities
None known

Gravity Forms PDF Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Gravity Forms PDF Code Analysis

Dangerous Functions
4
Raw SQL Queries
0
13 prepared
Unescaped Output
49
15 escaped
Nonce Checks
0
Capability Checks
0
File Operations
38
External Requests
1
Bundled Libraries
2

Dangerous Functions Found

create_functioncreate_function('$matches',dompdf\include\frame_reflower.cls.php:228
create_functionarray_walk($words, create_function('&$val,$str',dompdf\include\text_frame_reflower.cls.php:373
create_functionarray_walk($lines, create_function('&$val,$str',dompdf\include\text_frame_reflower.cls.php:381
create_functionarray_walk($lines, create_function('&$val,$str',dompdf\include\text_frame_reflower.cls.php:409

Bundled Libraries

dompdfTCPDF

SQL Query Safety

100% prepared13 total queries

Output Escaping

23% escaped64 total outputs
Data Flows
4 unsanitized

Data Flow Analysis

4 flows4 with unsanitized paths
<dompdf> (dompdf\dompdf.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Gravity Forms PDF Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actiongform_entries_first_column_actionspdf.php:29
actiongform_entry_infopdf.php:30
actionwppdf.php:31
Maintenance & Trust

Gravity Forms PDF Maintenance & Trust

Maintenance Signals

WordPress version tested3.2.3
Last updatedUnknown
PHP min version
Downloads6K

Community Trust

Rating100/100
Number of ratings1
Active installs30
Developer Profile

Gravity Forms PDF Developer Profile

burningpony

2 plugins · 130 total installs

89
trust score
Avg Security Score
93/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Gravity Forms PDF

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
button
JS Globals
jQuery
FAQ

Frequently Asked Questions about Gravity Forms PDF