Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-12446: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in gravitymaster97 Post to Pdf

0
Medium
VulnerabilityCVE-2024-12446cvecve-2024-12446cwe-79
Published: Sat Dec 14 2024 (12/14/2024, 06:45:14 UTC)
Source: CVE Database V5
Vendor/Project: gravitymaster97
Product: Post to Pdf

Description

CVE-2024-12446 is a stored Cross-Site Scripting (XSS) vulnerability in the WordPress plugin 'Post to Pdf' by gravitymaster97, affecting all versions up to 1. 0. The flaw exists due to improper sanitization and escaping of user-supplied attributes in the 'gmptp_single_post' shortcode. Authenticated users with contributor-level access or higher can inject malicious scripts that execute when other users view the affected pages. This vulnerability can lead to partial confidentiality and integrity compromise without requiring user interaction. The CVSS score is 6. 4 (medium severity), reflecting network exploitability with low attack complexity but requiring privileges. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or mitigating this issue to prevent potential account takeover or session hijacking attacks.

AI-Powered Analysis

AILast updated: 02/26/2026, 04:43:31 UTC

Technical Analysis

CVE-2024-12446 identifies a stored Cross-Site Scripting vulnerability in the 'Post to Pdf' WordPress plugin developed by gravitymaster97. The vulnerability arises from insufficient input sanitization and output escaping in the 'gmptp_single_post' shortcode, which processes user-supplied attributes. Because these inputs are not properly neutralized, authenticated users with contributor-level permissions or higher can inject arbitrary JavaScript code into pages generated by the plugin. When other users access these pages, the malicious scripts execute in their browsers, potentially allowing attackers to steal session cookies, perform actions on behalf of victims, or deface content. The vulnerability affects all versions up to and including 1.0 of the plugin. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) indicates that the attack can be launched remotely over the network with low complexity, requires privileges (authenticated contributor or above), does not require user interaction, and impacts confidentiality and integrity with a scope change. No patches or fixes are currently linked, and no known exploits have been reported in the wild. This vulnerability is classified under CWE-79, which is a common and critical web application security weakness related to improper neutralization of input during web page generation.

Potential Impact

The primary impact of this vulnerability is the potential for attackers with contributor-level access to inject persistent malicious scripts into WordPress pages, which execute in the browsers of users who view those pages. This can lead to theft of authentication cookies, enabling session hijacking and unauthorized access escalation. Attackers could also manipulate page content or perform actions on behalf of other users, undermining data integrity. Although availability is not directly affected, the compromise of user accounts and site integrity can cause significant reputational damage and operational disruption. Organizations relying on the 'Post to Pdf' plugin risk exposure to targeted attacks, especially if contributor accounts are compromised or misused. The medium CVSS score reflects a moderate but significant risk, particularly in environments with multiple contributors or where sensitive data is handled via WordPress. The scope change indicates that the vulnerability can affect components beyond the initially compromised user context, increasing the risk profile.

Mitigation Recommendations

Since no official patches are currently linked, organizations should immediately restrict contributor-level access to trusted users only and audit existing contributor accounts for suspicious activity. Disable or remove the 'Post to Pdf' plugin if it is not essential to reduce attack surface. Implement Web Application Firewall (WAF) rules to detect and block malicious payloads targeting the 'gmptp_single_post' shortcode parameters. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts. Monitor logs for unusual POST requests or shortcode usage patterns indicative of exploitation attempts. Educate content contributors about the risks of injecting untrusted content. Once a patch or update is released by the vendor, apply it promptly. Additionally, consider scanning the site for injected scripts and cleaning any compromised pages to prevent persistent exploitation.

Need more detailed analysis?Upgrade to Pro Console

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: 2/26/2026, 4:43:31 AM

Last updated: 2/26/2026, 10:52:32 AM

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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.

Latest Threats