Cross Site Scripting Vulnerability in Stockdio Historical Chart Plugin for WordPress
CVE-2020-28707

6.1MEDIUM

Key Information:

Vendor

Wordpress

Vendor
CVE Published:
19 January 2021

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2020-28707?

The Stockdio Historical Chart plugin prior to version 2.8.1 for WordPress is susceptible to Cross Site Scripting (XSS) due to inadequate validation of the origin of postMessage() events. This vulnerability occurs in the stockdio_chart_historical-wp.js file, where the stockdio_eventer function listens for incoming postMessage events. If an attacker sends a crafted message from another origin, the function may incorrectly execute arbitrary JavaScript code by evaluating the received data.method value. This flaw can enable malicious scripts to be executed in the context of the affected WordPress site, potentially compromising user data and site integrity.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V3.1

Score:
6.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.