# CVE-2020-28707: The Stockdio Historical Chart plugin before 2.8.1 for WordPress is affected by Cross Site Scripting (XSS) via stockdiocharthistorical-wp.js…

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.03%, higher than 64% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-01-19T21:58:38.000Z
- Modified: 2026-07-09T01:16:42.847Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

The Stockdio Historical Chart plugin before 2.8.1 for WordPress is affected by Cross Site Scripting (XSS) via stockdio_chart_historical-wp.js in wp-content/plugins/stockdio-historical-chart/assets/ because the origin of a postMessage() event is not validated. The stockdio_eventer function listens for any postMessage event. After a message event is sent to the application, this function sets the "e" variable as the event and checks that the types of the data and data.method are not undefined (empty) before proceeding to eval the data.method received from the postMessage. However, on a different website. JavaScript code can call window.open for the vulnerable WordPress instance and do a postMessage(msg,'*') for that object.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- stockdio stockdio_historical_chart: before 2.8.1

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://jondow.eu/cve-2020-28707-xss-in-stockdio-historical-chart-plugin-for-wordpress-before-version-281/> (exploit, third-party-advisory)
- <https://wordpress.org/plugins/stockdio-historical-chart/#developers> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2020-28707](https://www.cve.org/CVERecord?id=CVE-2020-28707), CVE Terms of Use, modified 2026-07-09
- NVD: [CVE-2020-28707](https://nvd.nist.gov/vuln/detail/CVE-2020-28707), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2020-28707 · Whole record: https://cve.day/CVE-2020-28707.json · Rebuilt by cve.day 2026-11-25T22:57:57.048Z
