CVE-2025-39510

8.5

ValvePress · Pinterest Automatic Pin

The Pinterest Automatic Pin plugin for WordPress contains an SQL injection vulnerability that allows authenticated attackers to execute arbitrary SQL commands.

Executive summary

A critical SQL injection vulnerability in the ValvePress Pinterest Automatic Pin plugin allows authenticated users to compromise sensitive database information.

Vulnerability

The plugin fails to properly neutralize special elements within SQL commands, leading to an SQL injection vulnerability (CWE-89). Per the CVSS vector (PR:L), this flaw requires the attacker to have at least low-level authenticated access to the WordPress site.

Business impact

Successful exploitation of this vulnerability permits unauthorized access to the underlying database, potentially exposing sensitive site data or configuration details. Given the CVSS score of 8.5, this is considered a high-severity issue that could lead to significant data breaches or integrity loss if the database is not properly segmented or protected.

Remediation

Immediate Action: Update the Pinterest Automatic Pin plugin to version 4.19.0 or later to ensure the vulnerability is fully patched.

Proactive Monitoring: Review database query logs for unusual syntax or patterns that deviate from standard plugin behavior.

Compensating Controls: Implement a Web Application Firewall (WAF) with rules configured to detect and block common SQL injection patterns targeting WordPress plugins.

Exploitation status

Public Exploit Available: Unknown.

Analyst recommendation

The severity of this flaw necessitates immediate attention from administrators managing WordPress environments. Please verify the currently installed version of the Pinterest Automatic Pin plugin and apply the vendor-provided security update immediately. Failure to patch allows authenticated users to potentially exfiltrate database contents, posing a significant risk to site confidentiality.

Sources

Originally found and disclosed by Anhchangmutrang | Patchstack Bug Bounty Program, per the CVE Program record.