CVE-2026-4120
Last modified
CVE-2026-4120 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. The Info Cards – Add Text and Media in Card Layouts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'btnUrl' parameter within the Info Cards block in all versions up to, and including, 2.0.7. This is due to insufficient input validation on URL schemes, specifically the lack of javascript: protocol filtering. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
The Info Cards – Add Text and Media in Card Layouts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'btnUrl' parameter within the Info Cards block in all versions up to, and including, 2.0.7. This is due to insufficient input validation on URL schemes, specifically the lack of javascript: protocol filtering. The block's render.php passes all attributes as JSON to the frontend via a data-attributes HTML attribute using esc_attr(wp_json_encode()), which prevents HTML attribute injection but does not validate URL protocols within the JSON data. The client-side view.js then renders the btnUrl value directly as an href attribute on anchor elements without any protocol sanitization. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject javascript: URLs that execute arbitrary web scripts when a user clicks the rendered button link.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-4120?
How severe is CVE-2026-4120?
How do I fix CVE-2026-4120?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-41192FreeScout is a free self-hosted help desk and shared mailbox…7.1
- CVE-2026-41193FreeScout is a free self-hosted help desk and shared mailbox…9.1
- CVE-2026-41194FreeScout is a free self-hosted help desk and shared mailbox…5.4
- CVE-2026-41195mosparo is the modern solution to protect your online forms …5
- CVE-2026-41196Luanti (formerly Minetest) is an open source voxel game-crea…10
- CVE-2026-41197Noir is a Domain Specific Language for SNARK proving systems…9.3
- CVE-2026-41200STIG Manager is an API and web client for managing Security…8.5
- CVE-2026-41201CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …9.1
- CVE-2026-41202CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …9.4
- CVE-2026-41203CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …9.4
- CVE-2026-41205Mako is a template library written in Python. Prior to 1.3.1…7.5
- CVE-2026-41206PySpector is a static analysis security testing (SAST) Frame…7.8
Are you affected by CVE-2026-4120?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
