ACF Photo Gallery Field Security & Risk Analysis

wordpress.org/plugins/navz-photo-gallery

A lightweight extension of Advanced Custom Field (ACF) that adds Photo Gallery field to any post/pages on your WordPress website.

60K active installs v3.1 PHP 7.0+ WP 5.8+ Updated Dec 26, 2025
acfcustomfieldsgalleryphoto
95
A · Safe
CVEs total4
Unpatched0
Last CVEFeb 18, 2026
Safety Verdict

Is ACF Photo Gallery Field Safe to Use in 2026?

Generally Safe

Score 95/100

ACF Photo Gallery Field has a strong security track record. Known vulnerabilities have been patched promptly.

4 known CVEsLast CVE: Feb 18, 2026Updated 3mo ago
Risk Assessment

The Navz Photo Gallery plugin, version 3.1, exhibits a generally good security posture based on the static analysis. The absence of unprotected AJAX handlers, REST API routes, shortcodes, and cron events is commendable, as is the complete lack of unescaped output and the consistent use of prepared statements for SQL queries. The presence of nonce and capability checks on entry points further reinforces this positive assessment. However, a significant concern arises from the single instance of the `unserialize` function, which, if improperly handled, can lead to Remote Code Execution vulnerabilities. While the taint analysis did not reveal any unsanitized flows, the potential for `unserialize` to be misused remains a notable risk.

The vulnerability history for this plugin is a mixed bag. While there are no currently unpatched CVEs, the presence of four past medium-severity vulnerabilities, including Cross-Site Scripting and authorization issues, indicates a pattern of past security weaknesses. The fact that the last vulnerability was in February 2026 (a future date, implying this is historical data from a system that might be misconfigured or showing future dated data) suggests that while issues have been addressed, the codebase has historically had areas prone to vulnerabilities. This historical context, combined with the `unserialize` function, warrants careful monitoring and a cautious approach.

In conclusion, Navz Photo Gallery 3.1 demonstrates strengths in common web application security practices like output escaping and prepared statements. The attack surface is well-protected with authentication checks on its entry points. Nevertheless, the presence of `unserialize` and the historical record of medium-severity vulnerabilities, particularly those related to authorization and XSS, prevent a perfect security score. Vigilance is advised, and thorough testing of any new releases is recommended.

Key Concerns

  • Presence of unserialize function
  • History of 4 medium severity CVEs
Vulnerabilities
4

ACF Photo Gallery Field Security Vulnerabilities

CVEs by Year

1 CVE in 2021
2021
1 CVE in 2023
2023
1 CVE in 2024
2024
1 CVE in 2026
2026
Patched Has unpatched

Severity Breakdown

Medium
4

4 total CVEs

CVE-2025-12081medium · 4.3Missing Authorization

ACF Photo Gallery Field <= 3.0 - Missing Authorization to Authenticated (Subscriber+) Attachment Metadata Modification

Feb 18, 2026 Patched in 3.1 (1d)
CVE-2024-23518medium · 4.3Missing Authorization

ACF Photo Gallery Field <= 2.6 - Missing Authorization in apgf_update_donation

Jan 30, 2024 Patched in 2.7 (15d)
CVE-2023-3957medium · 4.3Improper Authorization

ACF Photo Gallery Field <= 1.9 - Authenticated (Subscriber+) Arbitrary Usermeta Update

Jul 26, 2023 Patched in 2.0 (181d)
CVE-2021-24909medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

ACF Photo Gallery Field <= 1.7.4 - Reflected Cross-Site Scripting

Dec 20, 2021 Patched in 1.7.5 (764d)
Code Analysis
Analyzed Mar 17, 2026

ACF Photo Gallery Field Code Analysis

Dangerous Functions
1
Raw SQL Queries
0
0 prepared
Unescaped Output
0
114 escaped
Nonce Checks
5
Capability Checks
3
File Operations
0
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

unserialize$option = unserialize(get_option("apgf_donation"));includes\acf_photo_gallery.php:74

Output Escaping

100% escaped114 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
apgf_edit_model (includes\acf_photo_gallery_edit.php:6)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

ACF Photo Gallery Field Attack Surface

Entry Points4
Unprotected0

AJAX Handlers 4

authwp_ajax_apgf_update_donationincludes\acf_photo_gallery.php:88
authwp_ajax_apgf_edit_modelincludes\acf_photo_gallery_edit.php:90
authwp_ajax_acf_photo_gallery_edit_saveincludes\acf_photo_gallery_edit_save.php:64
authwp_ajax_acf_photo_gallery_remove_photoincludes\acf_photo_gallery_remove_photo.php:36
WordPress Hooks 13
filteracf_photo_gallery_image_fieldsincludes\acf_photo_gallery_image_fields.php:34
actionsave_postincludes\acf_photo_gallery_save.php:49
actionsave_postincludes\acf_photo_gallery_save.php:51
filterimage_resize_dimensionsincludes\aq_resizer.php:76
actionadmin_enqueue_scriptsnavz-photo-gallery.php:49
actionacf/include_field_typesnavz-photo-gallery.php:50
actionacf/register_fieldsnavz-photo-gallery.php:51
actionrest_api_initnavz-photo-gallery.php:52
filteracf_photo_gallery_caption_from_attachmentnavz-photo-gallery.php:53
actionelementor/dynamic_tags/registernavz-photo-gallery.php:55
actionelementor/dynamic_tags/register_tagsnavz-photo-gallery.php:57
filterplugin_row_metanavz-photo-gallery.php:59
actionadmin_headnavz-photo-gallery.php:60
Maintenance & Trust

ACF Photo Gallery Field Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 26, 2025
PHP min version7.0
Downloads635K

Community Trust

Rating80/100
Number of ratings29
Active installs60K
Developer Profile

ACF Photo Gallery Field Developer Profile

Navneil Naicker

4 plugins · 61K total installs

73
trust score
Avg Security Score
91/100
Avg Patch Time
240 days
View full developer profile
Detection Fingerprints

How We Detect ACF Photo Gallery Field

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/navz-photo-gallery/assets/js/acf-photo-gallery-field.js/wp-content/plugins/navz-photo-gallery/assets/css/acf-photo-gallery-field.css
Script Paths
/wp-content/plugins/navz-photo-gallery/assets/js/acf-photo-gallery-field.js
Version Parameters
navz-photo-gallery/assets/js/acf-photo-gallery-field.js?ver=navz-photo-gallery/assets/css/acf-photo-gallery-field.css?ver=

HTML / DOM Fingerprints

CSS Classes
acf-photo-gallery-field
HTML Comments
<!-- ACF Photo Gallery Field --><!-- END ACF Photo Gallery Field -->
Data Attributes
data-namedata-type
JS Globals
apgf_show_donationapgf_nonce
REST Endpoints
/wp-json/acf/v1/field/wp-json/acf/v1/fields/wp-json/acf/v1/field_group/wp-json/acf/v1/field_groups
FAQ

Frequently Asked Questions about ACF Photo Gallery Field