CVE-2021-30458: XSS

Published Apr 8, 2021
·
Updated

An issue was discovered in Wikimedia Parsoid before 0.11.1 and 0.12.x before 0.12.2. An attacker can send crafted wikitext that Utils/WTUtils.php will transform by using a <meta> tag, bypassing sanitization steps, and potentially allowing for XSS.

Other sources

Parsoid comment fostering allows for inserting mostly arbitrary <meta> tags

Affected Software

5 affected componentsFixes available
composer/wikimedia/parsoid<0.12.2
composer/wikimedia/parsoid<0.11.1
0.11.1
composer/wikimedia/parsoid>=0.12<0.12.2
0.12.2
Wikimedia Parsoid Node.js<0.11.1
Wikimedia Parsoid Node.js>=0.12.0<0.12.2

Event History

Apr 8, 2021
Advisory Published
05:36 AM
Apr 9, 2021
CVE Published
via MITRE·06:06 AM
Data Sourced
via MITRE·06:06 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-30458?

CVE-2021-30458 is considered a high severity vulnerability due to its potential for allowing cross-site scripting (XSS).

2

How do I fix CVE-2021-30458?

To mitigate CVE-2021-30458, update Wikimedia Parsoid to version 0.11.1 or 0.12.2 or later.

3

What software is affected by CVE-2021-30458?

CVE-2021-30458 affects Wikimedia Parsoid versions before 0.11.1 and 0.12.x before 0.12.2.

4

What type of vulnerability is CVE-2021-30458?

CVE-2021-30458 is a cross-site scripting (XSS) vulnerability stemming from inadequate sanitization of user input.

5

Can an attacker exploit CVE-2021-30458 remotely?

Yes, an attacker can exploit CVE-2021-30458 remotely by sending crafted wikitext.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203