CVE-2024-12446: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in gravitymaster97 PDF Generator for Posts & Pages – Export Any Post Type to PDF
The Post to Pdf plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'gmptp_single_post' shortcode in all versions up to, and including, 1.0 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
The Post to Pdf WordPress plugin suffers from a stored XSS vulnerability in the 'gmptp_single_post' shortcode. This is caused by improper neutralization of input during web page generation, specifically insufficient input sanitization and output escaping of user-supplied shortcode attributes. Authenticated attackers with contributor or higher privileges can exploit this to inject arbitrary JavaScript that executes in the context of users viewing the compromised pages. This vulnerability affects all plugin versions up to 1.0 and has a CVSS 3.1 base score of 6.4 (medium severity). No official patch or fix information is provided in the available data.
Potential Impact
Successful exploitation allows an authenticated user with contributor-level or higher privileges to inject persistent malicious scripts into pages generated by the plugin. These scripts execute in the browsers of users who view the infected pages, potentially leading to session hijacking, privilege escalation, or other client-side attacks. The vulnerability does not affect availability but impacts confidentiality and integrity to a limited extent. There are no known exploits in the wild as of the published date.
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 vulnerable plugin if possible. Monitor for plugin updates from gravitymaster97 that address this vulnerability.
CVE-2024-12446: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in gravitymaster97 PDF Generator for Posts & Pages – Export Any Post Type to PDF
Description
The Post to Pdf plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'gmptp_single_post' shortcode in all versions up to, and including, 1.0 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
The Post to Pdf WordPress plugin suffers from a stored XSS vulnerability in the 'gmptp_single_post' shortcode. This is caused by improper neutralization of input during web page generation, specifically insufficient input sanitization and output escaping of user-supplied shortcode attributes. Authenticated attackers with contributor or higher privileges can exploit this to inject arbitrary JavaScript that executes in the context of users viewing the compromised pages. This vulnerability affects all plugin versions up to 1.0 and has a CVSS 3.1 base score of 6.4 (medium severity). No official patch or fix information is provided in the available data.
Potential Impact
Successful exploitation allows an authenticated user with contributor-level or higher privileges to inject persistent malicious scripts into pages generated by the plugin. These scripts execute in the browsers of users who view the infected pages, potentially leading to session hijacking, privilege escalation, or other client-side attacks. The vulnerability does not affect availability but impacts confidentiality and integrity to a limited extent. There are no known exploits in the wild as of the published date.
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 vulnerable plugin if possible. Monitor for plugin updates from gravitymaster97 that address this vulnerability.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-12-10T19:10:26.710Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e3bb7ef31ef0b598a7f
Added to database: 2/25/2026, 9:48:43 PM
Last enriched: 4/9/2026, 7:23:44 PM
Last updated: 4/12/2026, 2:01:57 PM
Views: 20
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.