CVE-2024-51641: WordPress Advanced PDF Generator plugin <= 0.4.0 - CSRF to Stored XSS vulnerability
Cross-Site Request Forgery (CSRF) vulnerability in Juan Camilo Advanced PDF Generator advanced-pdf-generator allows Stored XSS.This issue affects Advanced PDF Generator: from n/a through <= 0.4.0.
Security readout for executives and security teams
Plain-English summary
A WordPress plugin used for PDF generation can let an attacker trick a user into saving malicious script into the site. That script may later run in visitors' or administrators' browsers. The issue is rated high, but the provided sources do not show active exploitation or a confirmed fixed version.
Executive priority
Treat as a high-priority WordPress plugin exposure. Prioritize internet-facing business sites, administrator-heavy workflows, and sites where PDF generation is not essential. Absence from KEV lowers emergency urgency but does not remove risk.
Technical view
CVE-2024-51641 is a CSRF vulnerability in Juan Camilo Advanced PDF Generator through version 0.4.0 that allows stored XSS. CVSS 3.1 is 7.1, with network attack vector, low complexity, required user interaction, changed scope, and low confidentiality, integrity, and availability impact.
Likely exposure
Exposure appears limited to WordPress sites running Advanced PDF Generator, package advanced-pdf-generator, version 0.4.0 or earlier. Sites without this plugin are not affected based on the provided default unaffected status.
Exploitation context
CISA KEV status is false in the source bundle, and no cited source states active exploitation. The CVSS vector indicates exploitation requires user interaction. Evidence supports a CSRF-to-stored-XSS risk, not unauthenticated direct server compromise.
Researcher notes
The provided evidence does not include proof-of-concept details, exploit telemetry, or a named patched version. Analysis should stay focused on plugin presence, version confirmation, stored-XSS indicators, and vendor/Patchstack remediation tracking.
Mitigation direction
Inventory WordPress sites for Advanced PDF Generator version 0.4.0 or earlier.
Update the plugin if vendor guidance identifies a fixed release.
Disable or remove the plugin where it is not business-critical.
Restrict administrative access and enforce strong session hygiene.
Check Patchstack and vendor channels for current remediation guidance.
Validation and detection
Confirm whether the plugin slug advanced-pdf-generator is installed.
Record installed plugin version across production and staging WordPress sites.
Review plugin-managed settings or content for unexpected script-like content.
Check security logs for suspicious administrative changes involving the plugin.
Verify any remediation against vendor or Patchstack guidance.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-352: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-352 · source CWE mapping
Cross-Site Request Forgery (CSRF)
Cross-Site Request Forgery (CSRF) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.