Companion Sitemap Generator – HTML & XML Security & Risk Analysis

wordpress.org/plugins/companion-sitemap-generator

Easy to use XML and HTML sitemap generator + Robots editor

7K active installs v4.5.9.3 PHP + WP 5.3.0+ Updated Oct 2, 2025
multilingualrobotsseositemapxml
98
A · Safe
CVEs total3
Unpatched0
Last CVEJun 19, 2023
Safety Verdict

Is Companion Sitemap Generator – HTML & XML Safe to Use in 2026?

Generally Safe

Score 98/100

Companion Sitemap Generator – HTML & XML has a strong security track record. Known vulnerabilities have been patched promptly.

3 known CVEsLast CVE: Jun 19, 2023Updated 6mo ago
Risk Assessment

The companion-sitemap-generator plugin version 4.5.9.3 exhibits a mixed security posture. While it demonstrates good practices in using prepared statements for the vast majority of its SQL queries and includes a reasonable number of nonce and capability checks, significant concerns arise from its output escaping and past vulnerability history. The fact that only 35% of output is properly escaped suggests a strong potential for Cross-Site Scripting (XSS) vulnerabilities, which aligns with past CVE types. Furthermore, the presence of one unsanitized path flow in the taint analysis, even without a critical or high severity rating, warrants attention as it indicates a potential vector for path traversal or other file-related exploits. The plugin has a history of 3 known CVEs, with one high and two medium severity vulnerabilities, all of which are now patched. However, the recurrence of XSS and CSRF in its vulnerability history, coupled with the low output escaping rate, highlights a persistent weakness in handling user-supplied data securely.

In conclusion, while the plugin is actively maintained and previous vulnerabilities have been patched, the low rate of proper output escaping and the identified unsanitized path flow are considerable risks. The historical pattern of XSS and CSRF vulnerabilities also suggests a need for more robust input validation and output sanitization. This plugin has strengths in its SQL handling and authentication checks, but these are overshadowed by the potential for client-side and potentially file-system related vulnerabilities. Vigilance and thorough auditing of output handling mechanisms are recommended.

Key Concerns

  • Low percentage of properly escaped output
  • Unsanitized path flow identified
  • History of High severity CVE
  • History of Medium severity CVEs
Vulnerabilities
3

Companion Sitemap Generator – HTML & XML Security Vulnerabilities

CVEs by Year

1 CVE in 2019
2019
2 CVEs in 2023
2023
Patched Has unpatched

Severity Breakdown

High
1
Medium
2

3 total CVEs

CVE-2023-1780medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Companion Sitemap Generator <= 4.5.1.1 - Reflected Cross-Site Scripting

Jun 19, 2023 Patched in 4.5.3 (218d)
CVE-2023-0066medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Companion Sitemap Generator <= 4.5.1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Feb 20, 2023 Patched in 4.5.2 (337d)
CVE-2019-15113high · 8.8Cross-Site Request Forgery (CSRF)

Companion Sitemap Generator – HTML & XML <= 3.6.6 - Cross-Site Request Forgery and Local File Inclusion

Jan 10, 2019 Patched in 3.7.0 (1839d)
Code Analysis
Analyzed Mar 16, 2026

Companion Sitemap Generator – HTML & XML Code Analysis

Dangerous Functions
0
Raw SQL Queries
3
42 prepared
Unescaped Output
51
27 escaped
Nonce Checks
8
Capability Checks
1
File Operations
12
External Requests
3
Bundled Libraries
0

SQL Query Safety

93% prepared45 total queries

Output Escaping

35% escaped78 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

3 flows1 with unsanitized paths
<additionalpages> (dashboard\additionalpages.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Companion Sitemap Generator – HTML & XML Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[html-sitemap] csg_functions.php:486
WordPress Hooks 12
actioninitcompanion_sitemap.php:23
actionwp_enqueue_scriptscompanion_sitemap.php:29
actioncsg_create_sitemapcompanion_sitemap.php:69
actionwpmu_new_blogcompanion_sitemap.php:94
filterwp_sitemaps_enabledcompanion_sitemap.php:130
filterwp_sitemaps_enabledcompanion_sitemap.php:193
filterwpmu_drop_tablescompanion_sitemap.php:204
actionplugins_loadedcompanion_sitemap.php:213
actionadmin_enqueue_scriptscompanion_sitemap.php:226
actionadmin_menucompanion_sitemap.php:232
actioninitcsg_gutenberg.php:45
actionwp_dashboard_setupdashboard\widget.php:22

Scheduled Events 2

csg_create_sitemap
csg_create_sitemap
Maintenance & Trust

Companion Sitemap Generator – HTML & XML Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedOct 2, 2025
PHP min version
Downloads186K

Community Trust

Rating94/100
Number of ratings55
Active installs7K
Developer Profile

Companion Sitemap Generator – HTML & XML Developer Profile

Papin Schipper

3 plugins · 60K total installs

76
trust score
Avg Security Score
96/100
Avg Patch Time
1158 days
View full developer profile
Detection Fingerprints

How We Detect Companion Sitemap Generator – HTML & XML

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/companion-sitemap-generator/frontend/style.css
Version Parameters
companion-sitemap-generator/frontend/style.css?ver=

HTML / DOM Fingerprints

HTML Comments
No script kiddies please!
FAQ

Frequently Asked Questions about Companion Sitemap Generator – HTML & XML