Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1848684 (CVE-2020-4047) - CVE-2020-4047 wordpress: authenticated XSS via media attachment page
Summary: CVE-2020-4047 wordpress: authenticated XSS via media attachment page
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-4047
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1848685 1848686
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-18 18:17 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-06-18 23:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-06-18 23:20:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-06-18 18:17:09 UTC
In affected versions of WordPress, authenticated users with upload permissions (like authors) are able to inject JavaScript into some media file attachment pages in a certain way. This can lead to script execution in the context of a higher privileged user when the file is viewed by them. This has been patched in version 5.4.2, along with all the previously affected versions via a minor release (5.3.4, 5.2.7, 5.1.6, 5.0.10, 4.9.15, 4.8.14, 4.7.18, 4.6.19, 4.5.22, 4.4.23, 4.3.24, 4.2.28, 4.1.31, 4.0.31, 3.9.32, 3.8.34, 3.7.34).

Reference:
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8q2w-5m27-wm27

Upstream commit:
https://github.com/WordPress/wordpress-develop/commit/0977c0d6b241479ecedfe19e96be69f727c3f81f

Comment 1 Guilherme de Almeida Suckevicz 2020-06-18 18:17:27 UTC
Created wordpress tracking bugs for this issue:

Affects: epel-all [bug 1848686]
Affects: fedora-all [bug 1848685]

Comment 2 Product Security DevOps Team 2020-06-18 23:20:33 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.