CVE-2024-12448
WordPress vulnerability analysis and mitigation

Overview

The Posts and Products Views for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) via the plugin's 'papvfwc_views' shortcode in versions up to and including 2.1. This vulnerability was discovered and disclosed on December 14, 2024, and has been assigned CVE-2024-12448. The plugin, which helps administrators track content popularity by displaying view counts for WordPress posts and WooCommerce products, is affected due to insufficient input sanitization and output escaping on user-supplied attributes (WPScan).

Technical details

The vulnerability is classified as a Stored Cross-Site Scripting (CWE-79) issue with a CVSS v3.1 Base Score of 6.4 (Medium) and vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N. The security flaw exists in the plugin's shortcode functionality, specifically the 'papvfwc_views' shortcode, where user-supplied attributes are not properly sanitized before being stored and displayed (NVD).

Impact

The vulnerability allows authenticated attackers with contributor-level access or higher to inject arbitrary web scripts into pages. These malicious scripts will execute whenever a user accesses the compromised page, potentially leading to unauthorized data access or manipulation of user sessions (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 2.1.1 of the Posts and Products Views for WooCommerce plugin. Site administrators are strongly advised to update to this latest version to protect against potential attacks (WordPress Plugin).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management