CVE-2021-23445 json
Cross-site Scripting (XSS)
published 2021-09-27 5 y ago modified 2026-06-17 4 mo ago also GHSA-h73q-5wmj-q8pj , EUVD-2021-2066
- cvss
- 3.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm datatables.net 1.11.3
- n/a datatables.net 1.11.3
- datatables.js Debian 14, Debian 13, Debian 12 1.10.21+dfsg-3
debian advisories DEBIAN-CVE-2021-23445
- eap7-wss4j jboss enterprise application platform 7.4 2.4.3-1.redhat_00001.1.el9eap
- eap7-wildfly jboss enterprise application platform 7.4 7.4.17-2.GA_redhat_00002.1.el9eap
- eap7-undertow jboss enterprise application platform 7.4 2.2.32-1.SP1_redhat_00001.1.el9eap
- eap7-apache-cxf jboss enterprise application platform 7.4 3.5.8-1.redhat_00001.1.el9eap
- eap7-infinispan jboss enterprise application platform 7.4 11.0.19-2.Final_redhat_00001.1.el9eap
- eap7-hal-console jboss enterprise application platform 7.4 3.3.22-1.Final_redhat_00001.1.el9eap
- eap7-wss4j-policy jboss enterprise application platform 7.4 2.4.3-1.redhat_00001.1.el9eap
- eap7-xml-security jboss enterprise application platform 7.4 2.3.4-1.redhat_00002.1.el9eap
red hat advisories RHSA-2024:3561RHSA-2024:3560RHSA-2024:3559
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-23445 updated cvss 6.1
datatables.net: contents of array not escaped by HTML escape entities function
-
Red Hat Decision Manager 7 datatables.net Red Hat Discovery 1 discovery-server-container Red Hat Fuse 7 datatables.net Red Hat JBoss Data Grid 7 datatables.netaffected: workaround, no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Application Platform Expansion Pack datatables.netaffected: workaround, no fix available
-
Red Hat OpenShift Container Platform 3.11 openshift3/ose-consoleaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Process Automation 7 datatables.net Red Hat Virtualization 4 cockpit-ovirt-uiplugin, cockpit-ovirt-dashboardaffected: workaround, no fix planned “Will not fix”
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-hal-console 3.3.22-1.Final_redhat_00001.1.el7eapfixed: vendor fix RHSA-2024:3559
-
Red Hat JBoss EAP 7.4 for RHEL 8 eap7-wss4j 2.4.3-1.redhat_00001.1.el8eap, eap7-apache-cxf 3.5.8-1.redhat_00001.1.el8eap, eap7-wildfly 7.4.17-2.GA_redhat_00002.1.el8eap, eap7-wss4j-policy 2.4.3-1.redhat_00001.1.el8eap, eap7-xml-security 2.3.4-1.redhat_00002.1.el8eap, eap7-apache-cxf-rt 3.5.8-1.redhat_00001.1.el8eap, +46 morefixed: vendor fix RHSA-2024:3560
-
Red Hat JBoss EAP 7.4 for RHEL 9 eap7-wss4j 2.4.3-1.redhat_00001.1.el9eap, eap7-apache-cxf 3.5.8-1.redhat_00001.1.el9eap, eap7-wildfly 7.4.17-2.GA_redhat_00002.1.el9eap, eap7-wss4j-policy 2.4.3-1.redhat_00001.1.el9eap, eap7-xml-security 2.3.4-1.redhat_00002.1.el9eap, eap7-apache-cxf-rt 3.5.8-1.redhat_00001.1.el9eap, +46 morefixed: vendor fix RHSA-2024:3561
-
Red Hat JBoss Enterprise Application Platform hal-console 3.3.22.Final-redhat-00001fixed: vendor fix RHSA-2024:3563
show 1 moreshow fewer
-
Red Hat Enterprise Linux 8 cockpit, cockpit-ws, cockpit-pcp, cockpit-bridge, cockpit-system, cockpit-machines, +3 more Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-wss4j 2.4.3-1.redhat_00001.1.el7eap, eap7-apache-cxf 3.5.8-1.redhat_00001.1.el7eap, eap7-wildfly 7.4.17-2.GA_redhat_00002.1.el7eap, eap7-wss4j-policy 2.4.3-1.redhat_00001.1.el7eap, eap7-xml-security 2.3.4-1.redhat_00002.1.el7eap, eap7-apache-cxf-rt 3.5.8-1.redhat_00001.1.el7eap, +44 more Red Hat JBoss Enterprise Application Platform pom.xml, c3 0.6.0, c3 0.7.1, d3 5.9.2, fs 2.1.2, ip 2.0.0, +1556 more Red Hat JBoss Enterprise Application Platform 8 datatables.net Red Hat Satellite 6 nodejs-patternfly-react-catalog-view-extensionnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.98% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-DATATABLESNET-1540544 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1715371 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1715376 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P |
| CNA | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | datatables.net | <1.11.3 |
1.11.3 |
Affected products
- n/a datatables.net
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/DataTables/Dist-DataTables/commit/59a8d3f8a3c1138ab08704e783bc52bfe88d7c9b
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-DATATABLESNET-1540544
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1715371
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1715376
web, exploit, third-party-advisory
-
cdn.datatables.net
/1.11.3/
release-notes, vendor-advisory
-
lists.debian.org
/debian-lts-announce/2023/08/msg00018.html
mailing-list, web
- security.netapp.com /advisory/ntap-20240621-0006/
-
nvd.nist.gov
/vuln/detail/CVE-2021-23445
advisory
-
cdn.datatables.net
/1.11.3
web
-
github.com
/DataTables/Dist-DataTables
package
-
security.netapp.com
/advisory/ntap-20240621-0006
web
Sources
- CVE List CVE-2021-23445
- GitHub Advisory GHSA-h73q-5wmj-q8pj
- NVD CVE-2021-23445
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.