Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Authenticated XSS Found in WordPress Plugin Facebook Widget

The WordPress plugin Facebook Widget (Widget for Facebook Page Feeds), which was recently closed on the WordPress plugin directory, is affected by an authenticated persistent Cross-Site Scripting (XSS), Plugin Vulnerabilities reports. 

The WordPress plugin Facebook Widget (Widget for Facebook Page Feeds), which was recently closed on the WordPress plugin directory, is affected by an authenticated persistent Cross-Site Scripting (XSS), Plugin Vulnerabilities reports. 

With nearly 1 million total downloads, the plugin was among the top 1000 most popular on WordPress, which puts a large number of websites and users at risk in the event attackers start targeting the vulnerability. 

The issue, Plugin Vulnerabilities explains, resides in the lack of proper handling of the security of shortcode attributes.

Specifically, the shortcode “fb_widget” causes the function fb_plugin_shortcode() to run. The function’s first line of code, however, sets attributes from a shortcode to the variable $defaults without sanitizing the input. The code also shows output as HTML tag attributes that are not being escaped.

While WordPress does some sanitization for lower level users, it does not do the same for usage as HTML tag attributes, Plugin Vulnerabilities explains. 

The vulnerability could be abused to cause malicious JavaScript to be included on the page, which results in the authenticated persistent cross-site scripting (XSS). Proof-of-concept to demonstrate the attack has been published online. 

Because of dispute with WordPress Support Forum moderators, Plugin Vulnerabilities has disclosed the security bug publicly on their website, although they also left a message about that for the developer through the forum. 

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

Google spinoff SandboxAQ has hired Chris Bates as its first CISO.

HackerOne CEO Marten Mickos announced that he will be retiring from the company after nine years.

Lou Serlenga has joined Bitsight as Chief Revenue Officer (CRO), following leadership roles at Tenable, Nile, and HPE.

More People On The Move

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

IoT Security

A vulnerability affecting Dahua cameras and video recorders can be exploited by threat actors to modify a device’s system time.