Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

WordPress Patches XSS Vulnerability Exploited in the Wild

WordPress 4.2.2 was released on Thursday to address a serious DOM-based cross-site scripting (XSS) vulnerability that has been actively exploited.

WordPress 4.2.2 was released on Thursday to address a serious DOM-based cross-site scripting (XSS) vulnerability that has been actively exploited.

The existence of the security hole was brought to light on Wednesday by researchers at Sucuri. The vulnerability exists in the genericons icon font package and it affects plugins and themes that use this package if the “example.html” file is present.

The security firm has determined that the vulnerability impacts the JetPack plugin, which has over 1 million active installs, and the TwentyFifteen theme, which is installed by default.

Malicious actors can exploit the flaw to execute arbitrary code and hijack affected WordPress website if they can trick administrators into clicking on their exploit links.

Fixing the vulnerability is not a difficult task. All WordPress website administrators need to do is delete the “example.html” file from the genericons package. After learning that the vulnerability was being actively exploited, Sucuri reached out to major hosting providers and instructed them to virtually patch the flaw in order to protect users.

WordPress has included its own fix for the vulnerability in WordPress 4.2.2, a security and maintenance release.

Advertisement. Scroll to continue reading.

“The Genericons icon font package, which is used in a number of popular themes and plugins, contained an HTML file vulnerable to a cross-site scripting attack,” WordPress wrote in a blog post. “All affected themes and plugins hosted on WordPress.org (including the Twenty Fifteen default theme) have been updated today by the WordPress security team to address this issue by removing this nonessential file. To help protect other Genericons usage, WordPress 4.2.2 proactively scans the wp-content directory for this HTML file and removes it.”

WordPress said the issue was brought to its attention by Robert Abela of Netsparker.

WordPress 4.2.2 also includes hardening for a potential XSS vulnerability when using the visual editor, and a comprehensive fix for a critical stored XSS that can be exploited to compromise websites via comments. The latest version also resolves a total of 13 functionality and performance bugs.

Credentials leak campaign

Zscaler researchers on Thursday reported spotting a campaign in which malicious actors have compromised multiple WordPress website in an effort to steal their users’ credentials. The compromised websites contain a backdoor designed to harvest credentials and send them back to the attackers.

“When unsuspecting users attempt to login to one of the compromised WordPress sites, they are served injected JavaScript code as part of the login page,” Zscaler wrote in a blog post.

Researchers have identified 18 websites that have been hijacked in this campaign, but they haven’t been able to determine the initial vector of compromise.

Netherlands-based security firm Fox-IT has noted that the attacks analyzed by Zscaler are part of the CryptoPHP campaign, which they analyzed last year.

*Updated to clarify that the attacks spotted by Zscaler are part of the CryptoPHP campaign

Written By

Eduard Kovacs (@EduardKovacs) is senior managing editor at SecurityWeek. He worked as a high school IT teacher before starting a career in journalism in 2011. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Click to comment

You must be logged in to post a comment Login

Leave a Reply

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.

NOW LIVE: CISO Forum 2026 Summit

Join as we bring together CISOs, senior cybersecurity executives, practitioners, industry experts, and other security leaders to share practical experience and examine the issues shaping enterprise cybersecurity strategy.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Cohere has appointed Jaya Baloo as CISO.

Jensen Huang has resigned as President and Chief Executive Officer at NVIDIA.

Sean Sweeney has become CIO of the City of Charleston, South Carolina.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.