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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/datatables.net to a version that resolves this vulnerability.

    Fixed in 1.11.3
  2. Upgrade

    Upgrade redhat/datatables.net to a version that resolves this vulnerability.

    Fixed in 1.11.3

Event History

Sep 27, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
CVE Published
via MITRE·04:35 PM
Data Sourced
05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 29, 2021
Advisory Published
05:11 PM
Nov 23, 2021
Updated
via IBM·12:00 AM
Affected Software
Jan 10, 2024
Data Sourced
via Red Hat·04:17 PM
DescriptionSeverityAffected Software
Feb 23, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Feb 26, 2024
Updated
via IBM·12:00 AM
Affected Software
Jun 21, 2024
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·07:15 PM
Affected Software
Advisory Published
via GitHub·10:11 PM
Data Sourced
via GitHub·10:11 PM
DescriptionSeverityWeaknessAffected Software
Event
via GitHub·10:11 PM
Sep 3, 2025
Data Sourced
via Microsoft·09:59 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·09:59 PM
Affected Software
Jun 17, 2026
Updated
via NVD·03:38 AM
RemedyAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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