CVE-2024-3107: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in brainstormforce Spectra Gutenberg Blocks – Website Builder for the Block Editor
The Spectra – WordPress Gutenberg Blocks plugin for WordPress is vulnerable to Path Traversal in versions up to, and including, 2.12.6 via the get_block_default_attributes function. This allows authenticated attackers, with contributor-level permissions and above, to read the contents of any files named attributes.php on the server, which can contain sensitive information.
AI Analysis
Technical Summary
The Spectra Gutenberg Blocks plugin for WordPress versions up to 2.12.6 contains a CWE-22 path traversal vulnerability in the get_block_default_attributes function. Authenticated users with contributor-level or higher permissions can exploit this flaw to read the contents of any attributes.php file on the server. This improper limitation of pathname input could lead to unauthorized disclosure of sensitive data stored in these files. The vulnerability has a CVSS 3.1 base score of 4.3, reflecting low complexity and limited impact confined to confidentiality. No known exploits in the wild have been reported.
Potential Impact
An attacker with contributor-level or higher permissions can read arbitrary attributes.php files on the server, potentially exposing sensitive configuration or attribute data. There is no indication of impact on integrity or availability. The confidentiality impact is limited but could aid further attacks if sensitive information is disclosed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict contributor-level permissions to trusted users only and monitor for suspicious activity related to file access. Avoid exposing sensitive data in attributes.php files if possible.
CVE-2024-3107: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in brainstormforce Spectra Gutenberg Blocks – Website Builder for the Block Editor
Description
The Spectra – WordPress Gutenberg Blocks plugin for WordPress is vulnerable to Path Traversal in versions up to, and including, 2.12.6 via the get_block_default_attributes function. This allows authenticated attackers, with contributor-level permissions and above, to read the contents of any files named attributes.php on the server, which can contain sensitive information.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Spectra Gutenberg Blocks plugin for WordPress versions up to 2.12.6 contains a CWE-22 path traversal vulnerability in the get_block_default_attributes function. Authenticated users with contributor-level or higher permissions can exploit this flaw to read the contents of any attributes.php file on the server. This improper limitation of pathname input could lead to unauthorized disclosure of sensitive data stored in these files. The vulnerability has a CVSS 3.1 base score of 4.3, reflecting low complexity and limited impact confined to confidentiality. No known exploits in the wild have been reported.
Potential Impact
An attacker with contributor-level or higher permissions can read arbitrary attributes.php files on the server, potentially exposing sensitive configuration or attribute data. There is no indication of impact on integrity or availability. The confidentiality impact is limited but could aid further attacks if sensitive information is disclosed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict contributor-level permissions to trusted users only and monitor for suspicious activity related to file access. Avoid exposing sensitive data in attributes.php files if possible.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-03-29T20:03:20.976Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6c8cb7ef31ef0b566268
Added to database: 2/25/2026, 9:41:32 PM
Last enriched: 4/9/2026, 7:57:03 PM
Last updated: 4/11/2026, 6:41:52 PM
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.