Description
The WP-Addpub plugin for WordPress is vulnerable to SQL Injection via the 'wp-addpub' shortcode in all versions up to, and including, 1.2.8 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Published: 2025-06-06
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Data theft via SQL injection for authenticated contributors
Action: Apply patch
AI Analysis

Impact

The WP-Addpub plugin for WordPress, versions up to 1.2.8, contains an SQL Injection flaw triggered by the 'wp-addpub' shortcode. The plugin fails to escape the user-supplied parameter and does not prepare the SQL statement, enabling an attacker with Contributor‑level access or higher to inject additional SQL queries into existing database calls. This can result in the exfiltration of sensitive data from the WordPress database, compromising confidentiality.

Affected Systems

WordPress sites using the WP‑Addpub plugin (vendor cyberscorp) with any release version 1.2.8 or earlier are affected. No further version specifics are listed.

Risk and Exploitability

The vulnerability has a CVSS score of 6.5, indicating moderate severity, and an EPSS score of less than 1%, implying a low current exploitation probability. It is not listed in CISA’s KEV catalog. The likely attack vector involves an authenticated user embedding a malicious shortcode within a post or page; the bounty of data extraction hinges on the attacker’s ability to contribute content to the site.

Generated by OpenCVE AI on April 20, 2026 at 22:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade WP‑Addpub to a patched version that removes the SQL injection vulnerability
  • Restrict the ability of Contributor‑level users (or lower) to use the 'wp-addpub' shortcode by adjusting role capabilities or employing a plugin that blocks shortcode usage for non-admins
  • Audit the database for evidence of unauthorized data access and enforce strict least‑privilege database credentials to minimize damage from any potential legacy injections

Generated by OpenCVE AI on April 20, 2026 at 22:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-17068 The WP-Addpub plugin for WordPress is vulnerable to SQL Injection via the 'wp-addpub' shortcode in all versions up to, and including, 1.2.8 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
History

Fri, 06 Jun 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 06 Jun 2025 07:00:00 +0000

Type Values Removed Values Added
Description The WP-Addpub plugin for WordPress is vulnerable to SQL Injection via the 'wp-addpub' shortcode in all versions up to, and including, 1.2.8 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Title WP-Addpub <= 1.2.8 - Authenticated (Contributor+) SQL Injection
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:33:59.712Z

Reserved: 2025-06-03T16:59:01.709Z

Link: CVE-2025-5563

cve-icon Vulnrichment

Updated: 2025-06-06T15:42:08.882Z

cve-icon NVD

Status : Deferred

Published: 2025-06-06T07:15:29.503

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-5563

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-20T22:45:20Z

Weaknesses