CVE-2026-0812 Overview
CVE-2026-0812 is a stored Cross-Site Scripting (XSS) vulnerability in the LinkedIn SC plugin for WordPress. The flaw affects all versions up to and including 1.1.9. It results from insufficient input sanitization and output escaping in the linkedin_sc_date_format, linkedin_sc_api_key, and linkedin_sc_secret_key parameters. Authenticated attackers with administrator-level access can inject arbitrary web scripts that execute when users access affected pages. The vulnerability is tracked under CWE-79.
Critical Impact
Authenticated administrators can persist JavaScript payloads that execute in the browser of any visitor reaching the injected page, enabling session theft, content manipulation, and pivoting in multi-administrator environments.
Affected Products
- LinkedIn SC plugin for WordPress versions up to and including 1.1.9
- WordPress sites using the plugin's linkedin_sc_date_format setting
- WordPress sites using the plugin's linkedin_sc_api_key and linkedin_sc_secret_key settings
Discovery Timeline
- 2026-01-14 - CVE-2026-0812 published to NVD
- 2026-04-15 - Last updated in NVD database
Technical Details for CVE-2026-0812
Vulnerability Analysis
The LinkedIn SC plugin stores administrator-supplied configuration values without applying proper sanitization on input or escaping on output. Three parameters are affected: linkedin_sc_date_format, linkedin_sc_api_key, and linkedin_sc_secret_key. When the plugin renders pages that include these values, browsers interpret injected markup as executable script. The flaw maps to CWE-79: Improper Neutralization of Input During Web Page Generation.
Attack complexity is high and exploitation requires administrator-level privileges, which limits the realistic attacker pool. The scope change indicates that injected scripts can affect resources beyond the vulnerable component. Confidentiality and integrity impact remain low because the attacker already holds administrator credentials.
Root Cause
The plugin code referenced at line 164 of linkedin-sc.php writes stored option values directly into the HTML response. Missing calls to WordPress sanitization helpers such as sanitize_text_field() on input and esc_attr() or esc_html() on output allow raw <script> tags and event handlers to survive the request cycle. See the WordPress Plugin source for version 1.1.9 for the affected code path.
Attack Vector
An authenticated administrator submits crafted values containing JavaScript payloads through the plugin's settings interface. The plugin persists the payload to the WordPress options table. Any subsequent user who loads a page rendering those options executes the script in their browser session. The vector is network-accessible, but exploitation depends on existing administrator access, which raises attack complexity.
The vulnerability is described in prose because no public proof-of-concept code is available. Refer to the Wordfence Vulnerability Report for additional analysis.
Detection Methods for CVE-2026-0812
Indicators of Compromise
- Unexpected <script>, onerror, or onload content stored in WordPress option keys related to the LinkedIn SC plugin
- Outbound browser requests from administrator or visitor sessions to unrecognized domains after viewing plugin-rendered pages
- Modifications to the wp_options table for linkedin_sc_date_format, linkedin_sc_api_key, or linkedin_sc_secret_key from non-routine administrator accounts
Detection Strategies
- Inspect stored values of the affected options for HTML special characters such as <, >, and quoted JavaScript handlers
- Review WordPress audit logs for plugin settings changes followed by content delivery anomalies
- Apply web application firewall rules that flag script-bearing payloads written to plugin configuration endpoints
Monitoring Recommendations
- Enable logging of administrator-level setting changes on WordPress installations running third-party LinkedIn integrations
- Monitor HTTP responses from pages rendered by the LinkedIn SC plugin for unsanitized markup
- Track creation of new administrator accounts and privilege changes, since the issue requires administrator access to exploit
How to Mitigate CVE-2026-0812
Immediate Actions Required
- Identify WordPress sites running the LinkedIn SC plugin and confirm the installed version against 1.1.9
- Restrict administrator account access and enforce multi-factor authentication on all WordPress administrators
- Audit stored values for linkedin_sc_date_format, linkedin_sc_api_key, and linkedin_sc_secret_key and remove any unexpected script content
Patch Information
At the time of NVD publication, all versions up to and including 1.1.9 are affected. Consult the Wordfence Vulnerability Report and the WordPress Plugin Development source for the latest fix status and apply the vendor-supplied update once available.
Workarounds
- Deactivate and remove the LinkedIn SC plugin until a patched release is verified
- Apply WAF rules to block requests that submit HTML or script content to the plugin's settings endpoint
- Limit the number of users assigned the administrator role and review their activity logs regularly
# Identify affected plugin version on a WordPress installation
wp plugin get linkedin-sc --field=version
# Deactivate the plugin until a fixed release is confirmed
wp plugin deactivate linkedin-sc
# Inspect stored option values for script content
wp option get linkedin_sc_date_format
wp option get linkedin_sc_api_key
wp option get linkedin_sc_secret_key
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

