CVE-2024-4546: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in avimegladon Custom Post Type Attachment
The Custom Post Type Attachment plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'pdf_attachment' shortcode in all versions up to, and including, 3.4.5 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2024-4546 is a stored cross-site scripting vulnerability in the Custom Post Type Attachment plugin for WordPress, affecting all versions up to 3.4.5. The issue arises from improper neutralization of user-supplied input in the 'pdf_attachment' shortcode, allowing authenticated users with contributor-level access or higher to inject arbitrary web scripts. These scripts execute in the context of any user who accesses the compromised page, potentially leading to information disclosure or session hijacking. The vulnerability is classified under CWE-79 and has a CVSS 3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N).
Potential Impact
An attacker with contributor-level or higher privileges can exploit this vulnerability to inject and store malicious scripts that execute in the browsers of users viewing the affected pages. This can lead to limited confidentiality and integrity impacts, such as theft of user credentials or unauthorized actions performed on behalf of users. There is no indication of availability impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the Custom Post Type Attachment plugin if feasible. Monitor for plugin updates from the vendor that address this vulnerability.
CVE-2024-4546: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in avimegladon Custom Post Type Attachment
Description
The Custom Post Type Attachment plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'pdf_attachment' shortcode in all versions up to, and including, 3.4.5 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-4546 is a stored cross-site scripting vulnerability in the Custom Post Type Attachment plugin for WordPress, affecting all versions up to 3.4.5. The issue arises from improper neutralization of user-supplied input in the 'pdf_attachment' shortcode, allowing authenticated users with contributor-level access or higher to inject arbitrary web scripts. These scripts execute in the context of any user who accesses the compromised page, potentially leading to information disclosure or session hijacking. The vulnerability is classified under CWE-79 and has a CVSS 3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N).
Potential Impact
An attacker with contributor-level or higher privileges can exploit this vulnerability to inject and store malicious scripts that execute in the browsers of users viewing the affected pages. This can lead to limited confidentiality and integrity impacts, such as theft of user credentials or unauthorized actions performed on behalf of users. There is no indication of availability impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the Custom Post Type Attachment plugin if feasible. Monitor for plugin updates from the vendor that address this vulnerability.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-05-06T13:14:08.199Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b90b7ef31ef0b556b2f
Added to database: 2/25/2026, 9:37:20 PM
Last enriched: 4/9/2026, 7:46:46 AM
Last updated: 4/12/2026, 12:47:04 AM
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.