{"id":"CVE-2020-28707","aliases":["CVE-2020-28707"],"related":[],"kind":"vulnerability","state":"published","title":"The Stockdio Historical Chart plugin before 2.8.1 for WordPress is affected by Cross Site Scripting (XSS) via stockdiocharthistorical-wp.js…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El plugin Stockdio Historical Chart versiones anteriores a 2.8.1 para WordPress, está afectado por una vulnerabilidad de tipo Cross Site Scripting (XSS) por medio del archivo stockdio_chart_historical-wp.js en wp-content/plugins/stockdio-historical-chart/assets/ debido a que el origen de un evento postMessage() no está comprobado.&#xa0;La función stockdio_eventer escucha cualquier evento postMessage.&#xa0;Después que un evento de mensaje es enviado a la aplicación, esta función establece la variable \"e\" como evento y comprueba que los tipos de datos y el método de datos no estén indefinidos (vacíos) antes de proceder a evaluar el método de datos recibido del postMessage.&#xa0;Sin embargo, en un sitio web diferente.&#xa0;El código JavaScript puede llamar a window.open para la instancia vulnerable de WordPress y hacer un postMessage(msg,'*') para ese objeto","source":"nvd"}],"published":"2021-01-19T21:58:38.000Z","modified":"2026-07-09T01:16:42.847Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.8.1"}],"vendor":"stockdio","product":"stockdio_historical_chart","cpe":"cpe:2.3:a:stockdio:stockdio_historical_chart:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wordpress.org/plugins/stockdio-historical-chart/#developers","tags":["release-notes","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://jondow.eu/cve-2020-28707-xss-in-stockdio-historical-chart-plugin-for-wordpress-before-version-281/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-28707","url":"https://www.cve.org/CVERecord?id=CVE-2020-28707","licence":"CVE Terms of Use","modified":"2026-07-09T00:11:48.837Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-28707","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28707","licence":"Public domain","modified":"2026-07-09T01:16:42.847Z"}],"updatedAt":"2026-11-25T22:57:57.048Z","epss":{"score":0.01025,"percentile":0.6456,"date":"2026-12-02T12:00:21.000Z"}}