CVE-2024-13464: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in photonicgnostic Library Bookshelves
CVE-2024-13464 is a stored cross-site scripting (XSS) vulnerability in the Library Bookshelves WordPress plugin by photonicgnostic, affecting all versions up to 5. 9. Authenticated users with contributor-level access or higher can exploit this flaw by injecting malicious scripts via the 'bookshelf' shortcode attributes, which are insufficiently sanitized and escaped. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, privilege escalation, or defacement. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction beyond page access. No known public exploits exist yet. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation, especially in environments with multiple contributors. The threat primarily affects WordPress sites globally, with higher risk in countries with widespread WordPress adoption and active contributor communities.
AI Analysis
Technical Summary
CVE-2024-13464 is a stored cross-site scripting vulnerability classified under CWE-79, found in the Library Bookshelves plugin for WordPress developed by photonicgnostic. This vulnerability exists in all plugin versions up to and including 5.9 due to improper neutralization of user input during web page generation. Specifically, the plugin's 'bookshelf' shortcode accepts user-supplied attributes that are not adequately sanitized or escaped before being rendered on pages. Authenticated users with contributor-level permissions or higher can exploit this by injecting arbitrary JavaScript code into the shortcode attributes. When any user accesses a page containing the injected shortcode, the malicious script executes in their browser context. This can lead to theft of authentication cookies, session tokens, or other sensitive information, enabling further attacks such as privilege escalation or persistent site compromise. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction. The scope is changed (S:C) indicating that the vulnerability affects resources beyond the vulnerable component. No public exploits have been reported yet, but the presence of authenticated access requirements limits immediate widespread exploitation. The vulnerability highlights the importance of proper input validation and output encoding in WordPress plugin development, especially for shortcodes that accept user input. No official patches or updates are currently linked, so mitigation relies on restricting contributor access, disabling the plugin, or applying manual code fixes.
Potential Impact
The impact of CVE-2024-13464 is significant for organizations running WordPress sites with the vulnerable Library Bookshelves plugin installed. Exploitation allows authenticated contributors or higher to inject persistent malicious scripts, which execute in the context of any user viewing the infected pages. This can lead to credential theft, session hijacking, unauthorized actions on behalf of users, and potential site defacement or redirection to malicious sites. For organizations with multiple content contributors, this vulnerability increases the risk of insider threats or compromised contributor accounts being leveraged for attacks. Although the vulnerability does not directly affect availability, the compromise of user sessions and site integrity can disrupt normal operations, damage reputation, and lead to data breaches. The medium CVSS score reflects that while exploitation requires some privileges, the ease of injection and persistent nature of the attack vector make it a credible threat. The absence of known public exploits currently limits immediate widespread impact but does not reduce the urgency for remediation. Organizations relying on this plugin for content display should consider the risk of lateral movement within their WordPress environment and the potential for broader compromise if exploited.
Mitigation Recommendations
To mitigate CVE-2024-13464, organizations should take the following specific actions: 1) Immediately review and restrict user roles and permissions, ensuring only trusted users have contributor-level or higher access to the WordPress site. 2) Disable or uninstall the Library Bookshelves plugin if it is not essential to reduce the attack surface. 3) Monitor site content for suspicious shortcode usage or unexpected script injections, using security plugins or manual audits. 4) If disabling the plugin is not feasible, implement manual code patches to sanitize and escape all user-supplied shortcode attributes before rendering, following WordPress security best practices. 5) Employ a Web Application Firewall (WAF) with rules to detect and block common XSS payloads targeting shortcode parameters. 6) Educate content contributors about the risks of injecting untrusted content and enforce strict content review workflows. 7) Regularly update WordPress core and all plugins once official patches for this vulnerability are released. 8) Conduct periodic security assessments focusing on plugin vulnerabilities and user privilege audits to detect and prevent similar issues. These targeted mitigations go beyond generic advice by focusing on role management, content monitoring, and interim protective measures until official fixes are available.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, India, Brazil, France, Japan, Netherlands, Italy, Spain
CVE-2024-13464: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in photonicgnostic Library Bookshelves
Description
CVE-2024-13464 is a stored cross-site scripting (XSS) vulnerability in the Library Bookshelves WordPress plugin by photonicgnostic, affecting all versions up to 5. 9. Authenticated users with contributor-level access or higher can exploit this flaw by injecting malicious scripts via the 'bookshelf' shortcode attributes, which are insufficiently sanitized and escaped. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, privilege escalation, or defacement. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction beyond page access. No known public exploits exist yet. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation, especially in environments with multiple contributors. The threat primarily affects WordPress sites globally, with higher risk in countries with widespread WordPress adoption and active contributor communities.
AI-Powered Analysis
Technical Analysis
CVE-2024-13464 is a stored cross-site scripting vulnerability classified under CWE-79, found in the Library Bookshelves plugin for WordPress developed by photonicgnostic. This vulnerability exists in all plugin versions up to and including 5.9 due to improper neutralization of user input during web page generation. Specifically, the plugin's 'bookshelf' shortcode accepts user-supplied attributes that are not adequately sanitized or escaped before being rendered on pages. Authenticated users with contributor-level permissions or higher can exploit this by injecting arbitrary JavaScript code into the shortcode attributes. When any user accesses a page containing the injected shortcode, the malicious script executes in their browser context. This can lead to theft of authentication cookies, session tokens, or other sensitive information, enabling further attacks such as privilege escalation or persistent site compromise. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction. The scope is changed (S:C) indicating that the vulnerability affects resources beyond the vulnerable component. No public exploits have been reported yet, but the presence of authenticated access requirements limits immediate widespread exploitation. The vulnerability highlights the importance of proper input validation and output encoding in WordPress plugin development, especially for shortcodes that accept user input. No official patches or updates are currently linked, so mitigation relies on restricting contributor access, disabling the plugin, or applying manual code fixes.
Potential Impact
The impact of CVE-2024-13464 is significant for organizations running WordPress sites with the vulnerable Library Bookshelves plugin installed. Exploitation allows authenticated contributors or higher to inject persistent malicious scripts, which execute in the context of any user viewing the infected pages. This can lead to credential theft, session hijacking, unauthorized actions on behalf of users, and potential site defacement or redirection to malicious sites. For organizations with multiple content contributors, this vulnerability increases the risk of insider threats or compromised contributor accounts being leveraged for attacks. Although the vulnerability does not directly affect availability, the compromise of user sessions and site integrity can disrupt normal operations, damage reputation, and lead to data breaches. The medium CVSS score reflects that while exploitation requires some privileges, the ease of injection and persistent nature of the attack vector make it a credible threat. The absence of known public exploits currently limits immediate widespread impact but does not reduce the urgency for remediation. Organizations relying on this plugin for content display should consider the risk of lateral movement within their WordPress environment and the potential for broader compromise if exploited.
Mitigation Recommendations
To mitigate CVE-2024-13464, organizations should take the following specific actions: 1) Immediately review and restrict user roles and permissions, ensuring only trusted users have contributor-level or higher access to the WordPress site. 2) Disable or uninstall the Library Bookshelves plugin if it is not essential to reduce the attack surface. 3) Monitor site content for suspicious shortcode usage or unexpected script injections, using security plugins or manual audits. 4) If disabling the plugin is not feasible, implement manual code patches to sanitize and escape all user-supplied shortcode attributes before rendering, following WordPress security best practices. 5) Employ a Web Application Firewall (WAF) with rules to detect and block common XSS payloads targeting shortcode parameters. 6) Educate content contributors about the risks of injecting untrusted content and enforce strict content review workflows. 7) Regularly update WordPress core and all plugins once official patches for this vulnerability are released. 8) Conduct periodic security assessments focusing on plugin vulnerabilities and user privilege audits to detect and prevent similar issues. These targeted mitigations go beyond generic advice by focusing on role management, content monitoring, and interim protective measures until official fixes are available.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-01-16T15:26:55.367Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e59b7ef31ef0b59eb48
Added to database: 2/25/2026, 9:49:13 PM
Last enriched: 2/26/2026, 12:44:38 AM
Last updated: 2/26/2026, 7:20:59 AM
Views: 1
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.
Related Threats
CVE-2026-25191: Uncontrolled Search Path Element in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-23703: Incorrect default permissions in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-1311: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bearsthemes Worry Proof Backup
HighFinding Signal in the Noise: Lessons Learned Running a Honeypot with AI Assistance [Guest Diary], (Tue, Feb 24th)
MediumCVE-2026-2506: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in motahar1 EM Cost Calculator
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.