CVE-2020-25814

MEDIUMCVSS 6.1/10EPSS 1.36%

Last modified

CVE-2020-25814 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. In MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4, XSS related to jQuery can occur. The attacker creates a message with [javascript:payload xss] and turns it into a jQuery object with mw.message().parse(). EPSS estimates a 1.36% chance of exploitation in the next 30 days.

Description

In MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4, XSS related to jQuery can occur. The attacker creates a message with [javascript:payload xss] and turns it into a jQuery object with mw.message().parse(). The expected result is that the jQuery object does not contain an <a> tag (or it does not have a href attribute, or it's empty, etc.). The actual result is that the object contains an <a href ="javascript... that executes when clicked.

Metrics

CVSS 3.1
6.1/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS Probability
1.36%

68.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
MediawikiMediawiki< 1.31.10
MediawikiMediawiki>= 1.32.0, < 1.34.4
FedoraprojectFedora33

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2020-25814?
In MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4, XSS related to jQuery can occur. The attacker creates a message with [javascript:payload xss] and turns it into a jQuery object with mw.message().parse(). The expected result is that the jQuery object does not contain an <a> tag (or it does not have a href attribute, or it's empty, etc.). The actual result is that the object contains an <a href ="javascript... that executes when clicked.
How severe is CVE-2020-25814?
CVE-2020-25814 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 1.36% probability of exploitation in the next 30 days.
How do I fix CVE-2020-25814?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-25814?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST