Custom Query Blocks Security & Risk Analysis

wordpress.org/plugins/post-type-archive-mapping

Map your archives to pages. Map 404 and term archives as well.

800 active installs v5.6.0 PHP 7.2+ WP 6.5+ Updated Mar 6, 2026
404-pagearchivescategory-gridmap-pagespost-type-block
99
A · Safe
CVEs total2
Unpatched0
Last CVEAug 29, 2024
Safety Verdict

Is Custom Query Blocks Safe to Use in 2026?

Generally Safe

Score 99/100

Custom Query Blocks has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Aug 29, 2024Updated 28d ago
Risk Assessment

The "post-type-archive-mapping" plugin, version 5.6.0, demonstrates a generally good security posture based on the static analysis. The plugin effectively utilizes WordPress security features, with all identified entry points (AJAX handlers and REST API routes) appearing to have proper authorization checks. SQL queries are 100% prepared, and output escaping is highly effective with only a negligible percentage of outputs not being properly escaped. The absence of dangerous functions, file operations, and external HTTP requests further strengthens its security. The plugin also implements nonce and capability checks, indicating an awareness of common WordPress security vulnerabilities. The lack of critical or high-severity taint flows is a very positive sign. However, the plugin's vulnerability history is a significant concern. Two medium-severity vulnerabilities have been recorded, one of which was relatively recent (2024-08-29). These vulnerabilities were of the Cross-site Scripting and Missing Authorization types, which are critical for any web application. While there are no currently unpatched vulnerabilities, the historical pattern of these types of issues suggests a potential for them to re-emerge if not vigilantly addressed in future development. The strengths lie in the robust implementation of security features in the current version, while the weakness lies in the historical presence of significant vulnerability types.

Key Concerns

  • Two medium severity CVEs recorded
  • Past Cross-site Scripting vulnerability
  • Past Missing Authorization vulnerability
Vulnerabilities
2

Custom Query Blocks Security Vulnerabilities

CVEs by Year

2 CVEs in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
2

2 total CVEs

CVE-2024-44059medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Custom Query Blocks <= 5.3.1 - Authenticated (Contributor+) Stored Cross-Site Scripting

Aug 29, 2024 Patched in 5.4.0 (463d)
CVE-2024-38794medium · 5.3Missing Authorization

Custom Query Blocks <= 5.2.0 - Missing Authorization via REST Routes

Jul 22, 2024 Patched in 5.3.0 (11d)
Code Analysis
Analyzed Mar 16, 2026

Custom Query Blocks Code Analysis

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

SQL Query Safety

100% prepared1 total queries

Output Escaping

99% escaped398 total outputs
Attack Surface

Custom Query Blocks Attack Surface

Entry Points8
Unprotected0

AJAX Handlers 1

authwp_ajax_ptam_dismiss_noticeincludes\admin\tabs\class-settings.php:32

REST API Routes 7

POST/wp-json/ptam/v2/get_termsincludes\rest\class-rest.php:27
POST/wp-json/ptam/v2/get_postsincludes\rest\class-rest.php:38
POST/wp-json/ptam/v2/get_taxonomiesincludes\rest\class-rest.php:49
POST/wp-json/ptam/v2/get_imagesincludes\rest\class-rest.php:60
POST/wp-json/ptam/v2/get_tax_termsincludes\rest\class-rest.php:71
POST/wp-json/ptam/v2/get_tax_term_dataincludes\rest\class-rest.php:82
POST/wp-json/ptam/v2/get_featured_postsincludes\rest\class-rest.php:93
WordPress Hooks 40
actionadmin_menuincludes\admin\class-admin-settings.php:23
filterplugin_row_metaincludes\admin\class-admin-settings.php:25
filterblock_categoriesincludes\admin\class-gutenberg.php:20
filterblock_categories_allincludes\admin\class-gutenberg.php:22
filtermanage_pages_columnsincludes\admin\class-page-columns.php:19
actionmanage_pages_custom_columnincludes\admin\class-page-columns.php:20
filterptam_admin_tabsincludes\admin\tabs\class-settings.php:29
filterptam_admin_sub_tabsincludes\admin\tabs\class-settings.php:30
filterptam_admin_tabsincludes\admin\tabs\class-support.php:29
filterptam_admin_sub_tabsincludes\admin\tabs\class-support.php:30
actioninitincludes\blocks\custom-post-types\class-custom-post-types.php:23
actionafter_setup_themeincludes\blocks\custom-post-types\class-custom-post-types.php:24
actioninitincludes\blocks\featured-posts\class-posts.php:21
actioninitincludes\blocks\term-grid\class-terms.php:21
actionenqueue_block_assetsincludes\class-enqueue.php:25
actionenqueue_block_editor_assetsincludes\class-enqueue.php:26
actionadmin_enqueue_scriptsincludes\class-enqueue.php:30
actionwpincludes\class-yoast.php:21
filterwpseo_opengraph_descincludes\class-yoast.php:25
filterwpseo_twitter_descriptionincludes\class-yoast.php:26
filterwpseo_opengraph_titleincludes\class-yoast.php:27
filterwpseo_twitter_titleincludes\class-yoast.php:28
filterwpseo_opengraph_urlincludes\class-yoast.php:29
filterwpseo_json_ld_outputincludes\class-yoast.php:31
actionrest_api_initincludes\rest\class-rest.php:20
filterterms_clausesincludes\rest\class-rest.php:116
actioninitpost-type-archive-mapping.php:79
actionadmin_initpost-type-archive-mapping.php:157
actionpre_get_postspost-type-archive-mapping.php:158
actionadmin_noticespost-type-archive-mapping.php:161
filtertemplate_includepost-type-archive-mapping.php:164
actionedit_termpost-type-archive-mapping.php:382
actionplugins_loadedpost-type-archive-mapping.php:559
filterptam_the_contentpost-type-archive-mapping.php:567
filterptam_the_contentpost-type-archive-mapping.php:568
filterptam_the_contentpost-type-archive-mapping.php:569
filterptam_the_contentpost-type-archive-mapping.php:570
filterptam_the_contentpost-type-archive-mapping.php:571
filterptam_the_contentpost-type-archive-mapping.php:572
filterptam_the_contentpost-type-archive-mapping.php:573
Maintenance & Trust

Custom Query Blocks Maintenance & Trust

Maintenance Signals

WordPress version tested7.0
Last updatedMar 6, 2026
PHP min version7.2
Downloads34K

Community Trust

Rating92/100
Number of ratings25
Active installs800
Developer Profile

Custom Query Blocks Developer Profile

Ronald Huereca

11 plugins · 29K total installs

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

How We Detect Custom Query Blocks

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/post-type-archive-mapping/assets/css/ptam-admin-style.css/wp-content/plugins/post-type-archive-mapping/assets/css/ptam-style.css/wp-content/plugins/post-type-archive-mapping/assets/js/ptam-admin-script.js/wp-content/plugins/post-type-archive-mapping/assets/js/ptam-script.js
Script Paths
/wp-content/plugins/post-type-archive-mapping/assets/js/ptam-admin-script.js/wp-content/plugins/post-type-archive-mapping/assets/js/ptam-script.js
Version Parameters
post-type-archive-mapping/assets/css/ptam-admin-style.css?ver=post-type-archive-mapping/assets/css/ptam-style.css?ver=post-type-archive-mapping/assets/js/ptam-admin-script.js?ver=post-type-archive-mapping/assets/js/ptam-script.js?ver=

HTML / DOM Fingerprints

CSS Classes
ptam-admin-settings
Data Attributes
_post_type_mapped_term_archive_mapping
JS Globals
PTAM_SPONSORS_URL
FAQ

Frequently Asked Questions about Custom Query Blocks