Background Per Page Security & Risk Analysis

wordpress.org/plugins/background-per-page

Background Per Page allows you to set a custom background per page (or post) as well as set up a default background for all other pages/posts.

700 active installs v0.3 PHP + WP 3.3.1+ Updated May 20, 2012
backgroundbackground-imagecustomper-pagepost
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Background Per Page Safe to Use in 2026?

Generally Safe

Score 85/100

Background Per Page has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 13yr ago
Risk Assessment

The "background-per-page" plugin version 0.3 exhibits a generally strong security posture based on the provided static analysis. The absence of reported vulnerabilities in its history is a positive indicator. Furthermore, the plugin demonstrates good development practices by employing prepared statements for all SQL queries and implementing nonce checks on its entry points, including its AJAX handlers. The lack of dangerous functions, file operations, and external HTTP requests further reduces potential attack vectors.

However, a significant concern arises from the low percentage of properly escaped output (19%). This indicates that a substantial portion of user-supplied data, or data processed by the plugin and then outputted, is not being adequately sanitized. This could lead to Cross-Site Scripting (XSS) vulnerabilities if an attacker can inject malicious scripts into the output. While no direct taint flows with unsanitized paths were found, the unescaped output presents a clear and present risk that needs immediate attention. The limited number of entry points and the presence of capability checks on AJAX handlers are positive, but the output escaping issue overshadows these strengths.

Key Concerns

  • Low output escaping percentage
Vulnerabilities
None known

Background Per Page Security Vulnerabilities

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

Background Per Page Code Analysis

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

Output Escaping

19% escaped21 total outputs
Attack Surface

Background Per Page Attack Surface

Entry Points3
Unprotected0

AJAX Handlers 3

authwp_ajax_rwmb_delete_filemeta-boxes\inc\fields\file.php:35
authwp_ajax_rwmb_reorder_imagesmeta-boxes\inc\fields\image.php:40
authwp_ajax_plupload_image_uploadmeta-boxes\inc\fields\plupload-image.php:22
WordPress Hooks 13
actionadmin_initbackground-per-page.php:147
actionwp_headbackground-per-page.php:331
actionadmin_noticesbackground-per-page.php:336
actionadmin_initbackground-per-page.php:367
actionadmin_initmeta-boxes\demo\all-custom-post-types.php:5
actionadmin_initmeta-boxes\demo\demo.php:242
actionadmin_initmeta-boxes\demo\field-taxonomy.php:304
actionadmin_enqueue_scriptsmeta-boxes\inc\classes\meta-box.php:77
actionsave_postmeta-boxes\inc\classes\meta-box.php:93
actionpost_edit_form_tagmeta-boxes\inc\fields\file.php:32
actionadmin_print_footer-post.phpmeta-boxes\inc\fields\wysiwyg.php:36
actionadmin_print_footer-post-new.phpmeta-boxes\inc\fields\wysiwyg.php:37
actionshutdownmeta-boxes\meta-box.php:80
Maintenance & Trust

Background Per Page Maintenance & Trust

Maintenance Signals

WordPress version tested3.3.2
Last updatedMay 20, 2012
PHP min version
Downloads62K

Community Trust

Rating86/100
Number of ratings8
Active installs700
Developer Profile

Background Per Page Developer Profile

Andy Charrington

5 plugins · 900 total installs

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

How We Detect Background Per Page

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/background-per-page/css/style.css/wp-content/plugins/background-per-page/js/background-per-page.js
Script Paths
/wp-content/plugins/background-per-page/js/background-per-page.js
Version Parameters
background-per-page/css/style.css?ver=background-per-page/js/background-per-page.js?ver=

HTML / DOM Fingerprints

Data Attributes
data-_bpp_elementdata-_bpp_backgrounddata-_bpp_repeat-xdata-_bpp_repeat-ydata-_bpp_attachmentdata-_bpp_position+3 more
JS Globals
window.BPP_urlwindow.BPP_dirvar prefix = '_bpp_'
FAQ

Frequently Asked Questions about Background Per Page