johnpbloch/wordpress-core is vulnerable to Cross-Site Scripting (XSS)
61
CVE Score
Medium
Cross-Site Scripting (XSS)
johnpbloch/wordpress-core returns Imgur oEmbed HTML without the sandbox in wp_filter_oembed_result() because Imgur is a registered provider. Text from the image owner is written into the page, so a Contributor who embeds an Imgur URL can run that text as stored cross-site scripting in a visitor's browser. A pending comment can also supply a link inside a contextual-help-tabs element, and the Comments screen passes that address to jQuery $(), so an address that looks like HTML becomes markup when a moderator clicks the link. The fix removes the Imgur provider and passes help tab addresses to $( document ).find().
Upgrade the johnpbloch/wordpress-core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
3.9.0 - 4.7.37
Fixed in 4.7.384.8.0 - 4.8.32
Fixed in 4.8.334.9.0 - 4.9.33
Fixed in 4.9.345.0.0 - 5.0.29
Fixed in 5.0.305.1.0 - 5.1.26
Fixed in 5.1.275.2.0 - 5.2.28
Fixed in 5.2.295.3.0 - 5.3.25
Fixed in 5.3.265.4.0 - 5.4.23
Fixed in 5.4.245.5.0 - 5.5.22
Fixed in 5.5.235.6.0 - 5.6.21
Fixed in 5.6.225.7.0 - 5.7.19
Fixed in 5.7.205.8.0 - 5.8.17
Fixed in 5.8.185.9.0 - 5.9.18
Fixed in 5.9.196.0.0 - 6.0.16
Fixed in 6.0.176.1.0 - 6.1.14
Fixed in 6.1.156.2.0 - 6.2.13
Fixed in 6.2.146.3.0 - 6.3.12
Fixed in 6.3.136.4.0 - 6.4.12
Fixed in 6.4.136.5.0 - 6.5.12
Fixed in 6.5.136.6.0 - 6.6.9
Fixed in 6.6.106.7.0 - 6.7.9
Fixed in 6.7.106.8.0 - 6.8.10
Fixed in 6.8.116.9.0 - 6.9.9
Fixed in 6.9.107.0.0 - 7.0.6
Fixed in 7.0.77.1.0 - 7.1.2
Fixed in 7.1.3johnpbloch/wordpress-core is vulnerable to Cross-Site Scripting (XSS) in versions 3.9.0 - 4.7.37, 4.8.0 - 4.8.32, 4.9.0 - 4.9.33, 5.0.0 - 5.0.29, 5.1.0 - 5.1.26, 5.2.0 - 5.2.28, 5.3.0 - 5.3.25, 5.4.0 - 5.4.23, 5.5.0 - 5.5.22, 5.6.0 - 5.6.21, 5.7.0 - 5.7.19, 5.8.0 - 5.8.17, 5.9.0 - 5.9.18, 6.0.0 - 6.0.16, 6.1.0 - 6.1.14, 6.2.0 - 6.2.13, 6.3.0 - 6.3.12, 6.4.0 - 6.4.12, 6.5.0 - 6.5.12, 6.6.0 - 6.6.9, 6.7.0 - 6.7.9, 6.8.0 - 6.8.10, 6.9.0 - 6.9.9, 7.0.0 - 7.0.6 and 7.1.0 - 7.1.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.