CVE-2019-20042

Source
https://cve.org/CVERecord?id=CVE-2019-20042
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20042.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-20042
Downstream
Related
  • GHSA-xvg2-m2f4-83m7
Published
2019-12-27T08:15:09.747Z
Modified
2026-03-15T22:28:16.968246Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

In wp-includes/formatting.php in WordPress 3.7 to 5.3.0, the function wptargetedlink_rel() can be used in a particular way to result in a stored cross-site scripting (XSS) vulnerability. This has been patched in WordPress 5.3.1, along with all the previous WordPress versions from 3.7 to 5.3 via a minor release.

References

Affected packages

Git / github.com/wordpress/wordpress

Affected ranges

Type
GIT
Repo
https://github.com/wordpress/wordpress
Events
Database specific
{
    "versions": [
        {
            "introduced": "3.7"
        },
        {
            "fixed": "5.3.1"
        }
    ]
}
Type
GIT
Repo
https://github.com/wordpress/wordpress-develop
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "10.0"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20042.json"