mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
Scott Taylor
dedff8fd0e
WP oEmbed: validate the
secret
send via postMessage
in wp.receiveEmbedMessage
. Also, compare window
instances.
In the data sent to us from the embedded iframe by postMessage(), the secret value is being used directly in a document.querySelectorAll() call without first being validated or escaped. In theory, this could lead to some broken embeds. Props mdawaffe. Fixes #34831. git-svn-id: https://develop.svn.wordpress.org/trunk@35761 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.4%
CSS
8.9%
JavaScript
8.1%
SCSS
0.9%
HTML
0.7%