Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-4120: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in bplugins Info Cards – Add Text and Media in Card Layouts

0
Medium
VulnerabilityCVE-2026-4120cvecve-2026-4120cwe-79
Published: Thu Mar 19 2026 (03/19/2026, 06:46:14 UTC)
Source: CVE Database V5
Vendor/Project: bplugins
Product: Info Cards – Add Text and Media in Card Layouts

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 22:09:23 UTC

Technical Analysis

The Info Cards plugin for WordPress improperly neutralizes input during web page generation, specifically failing to filter out javascript: URL schemes in the 'btnUrl' parameter. While the plugin encodes attributes as JSON to prevent HTML attribute injection, it does not validate URL protocols before rendering them in anchor href attributes on the client side. This flaw enables stored XSS attacks by authenticated users with Contributor or higher privileges, who can inject malicious javascript URLs that execute arbitrary scripts upon user interaction.

Potential Impact

This vulnerability allows authenticated users with Contributor-level access or above to perform stored cross-site scripting attacks. Successful exploitation can lead to arbitrary script execution in the context of users who click the malicious links, potentially resulting in session hijacking, privilege escalation, or other client-side impacts. The CVSS score of 6.4 reflects a medium severity with low complexity and no user interaction required beyond clicking the link.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and consider disabling or removing the vulnerable plugin. Avoid clicking on suspicious links generated by the Info Cards plugin. Monitor vendor channels for updates and apply patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-03-13T13:30:30.809Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69bba122e32a4fbe5f9bab87

Added to database: 3/19/2026, 7:09:22 AM

Last enriched: 4/9/2026, 10:09:23 PM

Last updated: 5/3/2026, 5:22:43 AM

Views: 98

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses