
Compact Archives Security & Risk Analysis
wordpress.org/plugins/compact-archivesDisplays a smart monthly archive of posts in a more compact form rather than the default long archive widget.
Is Compact Archives Safe to Use in 2026?
Mostly Safe
Score 78/100Compact Archives is generally safe to use. 1 past CVE were resolved. Keep it updated.
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
Compact Archives Security Vulnerabilities
CVEs by Year
Severity Breakdown
1 total CVE
Compact Archives <= 4.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting
Compact Archives Code Analysis
SQL Query Safety
Output Escaping
Compact Archives Attack Surface
Shortcodes 1
WordPress Hooks 5
Maintenance & Trust
Compact Archives Maintenance & Trust
Maintenance Signals
Community Trust
Compact Archives Alternatives
Collapsing Archives
collapsing-archives
This plugin uses Javascript to dynamically expand or collapse the set of months for each year and posts for each month in the archive listing of your …
Sitekit
sitekit
Widgets: search, archives and categories. Shortcodes: archives, bloginfo, iframe and categories.
Expanding Archives
expanding-archives
This plugin adds a new widget where you can view your old posts by expanding certain years and months.
AW WordPress Yearly Category Archives
aw-yearly-category-archives
This plugin will allow for yearly archives of specific categories from all post types and "Posts".
ARCW Popover Addon
arcw-popover-addon
Popover Addon for Archives Calendar Widget
Compact Archives Developer Profile
94 plugins · 23.5M total installs
How We Detect Compact Archives
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/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/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.jscompact-archives/style.css?ver=compact-archives/script.js?ver=HTML / DOM Fingerprints
emptymonthwpb_caw_hide_legacy_widgetwpb_caw_load_widgetwpb_compact_archive_blockload_wpbca_block_filescompact_archives_shortcodewpbca_get_archive_data+2 more[compact_archive][compact_archive style="block"][compact_archive style="initial"][compact_archive style="numeric"]