Compact Archives Security & Risk Analysis

wordpress.org/plugins/compact-archives

Displays a smart monthly archive of posts in a more compact form rather than the default long archive widget.

2K active installs v4.1.1 PHP 5.6+ WP 4.8+ Updated Feb 16, 2026
archivearchivesmonthly-archivewidgetyearly-archive
99
A · Safe
CVEs total1
Unpatched0
Last CVESep 22, 2025
Safety Verdict

Is Compact Archives Safe to Use in 2026?

Generally Safe

Score 99/100

Compact Archives has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.

1 known CVELast CVE: Sep 22, 2025Updated 3mo ago
Risk Assessment

The "compact-archives" plugin v4.1.1 presents a mixed security posture. On the positive side, the static analysis reveals a very small attack surface with only one shortcode and no unprotected entry points. The plugin also demonstrates good practices in output escaping, with a high percentage of outputs properly escaped, and avoids dangerous functions, file operations, and external HTTP requests. However, several significant concerns emerge from the analysis.

The most critical issue is the presence of an unpatched medium severity CVE, indicating a known vulnerability that exposes users to potential Cross-site Scripting attacks. Furthermore, the plugin's single SQL query is not using prepared statements, which is a common vector for SQL injection vulnerabilities. The absence of nonce and capability checks on its entry points, though the attack surface is small, means that any potential vulnerability within those points could be exploited without proper authorization or protection against CSRF attacks.

Overall, while the plugin has a limited attack surface and good output escaping, the unpatched CVE and the raw SQL query are serious weaknesses that significantly increase the risk. The history of vulnerabilities, particularly the Cross-site Scripting type, suggests a recurring pattern of input sanitization issues or insufficient output encoding in the past that may have contributed to this current unpatched vulnerability. Users should be cautious and prioritize patching or finding an alternative until the reported CVE is addressed.

Key Concerns

  • Unpatched CVE exists
  • SQL query not using prepared statements
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
1 published

Compact Archives Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

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

Compact Archives <= 4.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting

Sep 22, 2025 Patched in 4.1.1 (177d)
Version History

Compact Archives Release Timeline

v4.1.1Current
v4.1.01 CVE
v4.0.01 CVE
v3.0.91 CVE
v3.0.81 CVE
v3.0.71 CVE
v3.0.61 CVE
v3.0.51 CVE
v3.0.41 CVE
v3.0.31 CVE
v3.0.21 CVE
v3.0.11 CVE
v3.0.01 CVE
v2.0.01 CVE
Code Analysis
Analyzed Mar 16, 2026

Compact Archives Code Analysis

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

SQL Query Safety

0% prepared1 total queries

Output Escaping

88% escaped32 total outputs
Attack Surface

Compact Archives Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[compact_archive] inc\compact-archives.php:7
WordPress Hooks 5
actionplugins_loadedcompact.php:80
actionwidgets_initinc\compact-archives.php:10
filterwidget_types_to_hide_from_legacy_widget_blockinc\compact-archives.php:11
actionenqueue_block_editor_assetsinc\compact-archives.php:19
actioninitinc\compact-archives.php:22
Maintenance & Trust

Compact Archives Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 16, 2026
PHP min version5.6
Downloads55K

Community Trust

Rating100/100
Number of ratings9
Active installs2K
Developer Profile

Compact Archives Developer Profile

Syed Balkhi

94 plugins · 23.5M total installs

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

How We Detect Compact Archives

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/compact-archives/inc/compat/block-widget-screen.js/wp-content/plugins/compact-archives/inc/class-wpbeginner-caw-widget.js/wp-content/plugins/compact-archives/inc/wpb-compact-archive-block.js
Script Paths
/wp-content/plugins/compact-archives/inc/compat/block-widget-screen.js/wp-content/plugins/compact-archives/inc/class-wpbeginner-caw-widget.js/wp-content/plugins/compact-archives/inc/wpb-compact-archive-block.js
Version Parameters
compact-archives/style.css?ver=compact-archives/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
emptymonth
JS Globals
wpb_caw_hide_legacy_widgetwpb_caw_load_widgetwpb_compact_archive_blockload_wpbca_block_filescompact_archives_shortcodewpbca_get_archive_data+2 more
Shortcode Output
[compact_archive][compact_archive style="block"][compact_archive style="initial"][compact_archive style="numeric"]
FAQ

Frequently Asked Questions about Compact Archives