CVE-2024-4037: CWE-94 Improper Control of Generation of Code ('Code Injection') in opajaap WP Photo Album Plus
The WP Photo Album Plus plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 8.7.02.003. This is due to the plugin allowing unauthenticated users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
AI Analysis
Technical Summary
CVE-2024-4037 is a code injection vulnerability in the WP Photo Album Plus plugin for WordPress. The flaw arises from improper validation of user-supplied input before execution via the do_shortcode function, allowing unauthenticated attackers to run arbitrary shortcodes. This affects all versions up to 8.7.02.003. The vulnerability has a CVSS 3.1 score of 6.5, reflecting a medium severity with network attack vector, low attack complexity, no privileges required, no user interaction, and impacts on confidentiality and integrity.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to execute arbitrary shortcodes within the WordPress environment, potentially leading to unauthorized actions or information disclosure. The impact is limited to confidentiality and integrity, with no direct availability impact reported. There are no known active exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider disabling or removing the WP Photo Album Plus plugin if not essential, or restrict access to the affected functionality. Monitor official channels for updates and apply patches promptly once available.
CVE-2024-4037: CWE-94 Improper Control of Generation of Code ('Code Injection') in opajaap WP Photo Album Plus
Description
The WP Photo Album Plus plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 8.7.02.003. This is due to the plugin allowing unauthenticated users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-4037 is a code injection vulnerability in the WP Photo Album Plus plugin for WordPress. The flaw arises from improper validation of user-supplied input before execution via the do_shortcode function, allowing unauthenticated attackers to run arbitrary shortcodes. This affects all versions up to 8.7.02.003. The vulnerability has a CVSS 3.1 score of 6.5, reflecting a medium severity with network attack vector, low attack complexity, no privileges required, no user interaction, and impacts on confidentiality and integrity.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to execute arbitrary shortcodes within the WordPress environment, potentially leading to unauthorized actions or information disclosure. The impact is limited to confidentiality and integrity, with no direct availability impact reported. There are no known active exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider disabling or removing the WP Photo Album Plus plugin if not essential, or restrict access to the affected functionality. Monitor official channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-04-22T18:28:05.517Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b80b7ef31ef0b556037
Added to database: 2/25/2026, 9:37:04 PM
Last enriched: 4/9/2026, 2:26:41 PM
Last updated: 4/12/2026, 3:48:02 PM
Views: 14
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.