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

CVE-2026-4805

Published: 2026-04-28 08:16:02
Last Modified: 2026-04-28 20:26:05

Description

The Woostify plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.5.0 This is due to insufficient input sanitization and output escaping in the bundled Lity.js lightbox library, where user-controlled input from the href attribute is concatenated directly into a jQuery HTML string without sanitization. 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.

Woostify <= 2.5.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-4805 --> <!-- Attacker with Contributor access creates a post with this content --> <!-- The malicious href is processed by Lity.js without sanitization --> <a href="javascript:alert('XSS')" data-lity>Click me</a>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-4805", "sourceIdentifier": "[email protected]", "published": "2026-04-28T08:16:01.800", "lastModified": "2026-04-28T20:26:04.673", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Woostify plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.5.0 This is due to insufficient input sanitization and output escaping in the bundled Lity.js lightbox library, where user-controlled input from the href attribute is concatenated directly into a jQuery HTML string without sanitization. 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://github.com/woostify/woostify/commit/a4669598aa8c5de344dda6c3d42389a3c2e61adc", "source": "[email protected]"}, {"url": "https://themes.trac.wordpress.org/browser/woostify/2.4.6/assets/js/lity.js#L142", "source": "[email protected]"}, {"url": "https://themes.trac.wordpress.org/browser/woostify/2.4.6/assets/js/lity.js#L163", "source": "[email protected]"}, {"url": "https://themes.trac.wordpress.org/browser/woostify/2.4.6/assets/js/lity.js#L611", "source": "[email protected]"}, {"url": "https://themes.trac.wordpress.org/browser/woostify/2.4.6/assets/js/lity.js#L635", "source": "[email protected]"}, {"url": "https://themes.trac.wordpress.org/changeset?old_path=%2Fwoostify/2.5.0&new_path=%2Fwoostify/2.5.1", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/883ad6f7-e701-4708-b5d4-69b72ff38499?source=cve", "source": "[email protected]"}]}}