CVE-2021-23445: Cross-site Scripting (XSS)

Published Sep 27, 2021
·
Updated

Cross-site Scripting (XSS)

Other sources

datatables.net is vulnerable to cross-site scripting, caused by improper validation of user-supplied input. A remote attacker could exploit this vulnerability to inject malicious script into a web page which would be executed in a victim's Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

IBM

This affects the package datatables.net before 1.11.3. If an array is passed to the HTML escape entities function it would not have its contents escaped.

GitHub

Affected Software

5 affected componentsFixes available
npm/datatables.net<1.11.3
1.11.3
datatables Datatables.net Node.js<1.11.3
Microsoft cbl2 reaper 3.1.1-19
redhat/datatables.net<1.11.3
1.11.3
Microsoft cbl2 reaper 3.1.1-21

Event History

Sep 27, 2021
CVE Published
via MITRE·04:35 PM
Data Sourced
via MITRE·04:35 PM
DescriptionSeverityWeakness
Sep 29, 2021
Advisory Published
via GitHub·05:11 PM
Nov 23, 2021
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Jan 10, 2024
Data Sourced
via Red Hat·04:17 PM
DescriptionSeverityAffected Software
Sep 3, 2025
Data Sourced
via Microsoft·09:59 PM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·09:59 PM
DescriptionSeverity
Updated
via Microsoft·09:59 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

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 vulnerability ID of this vulnerability?

The vulnerability ID is CVE-2021-23445.

2

What is the severity rating of CVE-2021-23445?

The severity rating of CVE-2021-23445 is 7.2 (high).

3

What software packages are affected by CVE-2021-23445?

The package datatables.net before version 1.11.3 is affected by CVE-2021-23445.

4

What is the impact of CVE-2021-23445?

CVE-2021-23445 allows remote attackers to inject malicious scripts into web pages, which could be executed in a victim's web browser within the security context of the hosting web server.

5

How can CVE-2021-23445 be fixed?

To fix CVE-2021-23445, update the datatables.net package to version 1.11.3 or later.

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