CVE-2026-12042

WP2Social Auto Publish <= 2.4.12 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'pages' Parameter

Published Sep 19, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
The WP2Social Auto Publish plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 2.4.12 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

Analysis

AI-generated

Technical impact

The vulnerability allows an authenticated administrator to save arbitrary JavaScript through the 'pages' field in the plugin’s admin settings. The malicious code is stored and executed whenever any visitor loads a page that includes the injected content, leading to potential theft of session cookies, credential leakage, or malicious redirects. Because the attacker needs administrator privileges, the impact is limited to users who already have such access, but the stored nature of the flaw means that all subsequent site visitors can be affected.

Affected Systems

Any WordPress installation that has the f1logic:WP2Social Auto Publish plugin version 2.4.12 or older enabled on a multi‑site network, and where the unfiltered_html option is disabled, is vulnerable. The flaw resides in the plugin’s admin Ajax actions and settings pages, so only environments using these components are impacted.

Risk and Exploitability

The CVSS score of 4.4 indicates a moderate risk. EPSS is not available, and the flaw is not yet listed in CISA’s KEV catalog. The attack vector is inferred to be an authenticated administrator role, with the necessity of authoring content in the plugin’s ‘pages’ configuration. Once the script is inserted, any user accessing the affected page will trigger execution, meaning the exploit does not require additional privileges beyond the initial admin account.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update WP2Social Auto Publish to the latest version that removes the XSS flaw.
  • If an upgrade is not immediately possible, disable the plugin or remove the 'pages' functionality until a patch is available.
  • Restrict administrator accounts to trusted users and audit page edits for suspicious scripts.

Generated by OpenCVE AI on September 19, 2026 at 10:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared F1logic
F1logic wpsocial Auto Publish
Wordpress
Wordpress wordpress
Vendors & Products F1logic
F1logic wpsocial Auto Publish
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The WP2Social Auto Publish plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 2.4.12 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Title WP2Social Auto Publish <= 2.4.12 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'pages' Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Sep 19, 2026, 2:01 PM
Reserved
Jun 11, 2026, 7:44 PM
Status
Deferred
Published
Sep 19, 2026, 3:17 AM
Modified
Sep 21, 2026, 1:33 PM