Security readout for executives and security teams
Plain-English summary
CVE-2021-23398 is an XSS flaw in react-bootstrap-table. A web app using this package can expose users to script execution if untrusted table content reaches dataFormat and the component falls back to unsafe HTML rendering. Business urgency is moderate and depends on whether the package is present on public or authenticated user-facing pages.
Executive priority
Treat as a moderate web application security issue. It is not KEV-listed in the provided bundle, but it can affect user trust and session safety where vulnerable tables render shared or untrusted data. Prioritize exposed applications and privileged workflows first.
Technical view
All versions of react-bootstrap-table are reported vulnerable via dataFormat. When an invalid React element is returned, code uses dangerouslySetInnerHTML without sanitizing output. CVSS 3.1 is 6.1 with network access, low complexity, no privileges, required user interaction, changed scope, and low confidentiality and integrity impact.
Likely exposure
Exposure is most likely in React applications that depend on react-bootstrap-table or its WebJars npm packaging and render table cells from user-controlled or partner-controlled data. Risk is higher on public pages, admin consoles, support portals, and dashboards where users view shared records.
Exploitation context
The bundle does not show CISA KEV listing or confirmed active exploitation. The CVSS vector indicates exploitation requires a user to view affected content. The issue is client-side XSS, so impact centers on session context, displayed data, user trust, and actions available to the victim.
Researcher notes
Evidence supports the vulnerable behavior and affected package, but patch status and exploit-in-the-wild evidence are not established in the provided sources. Validate reachability through actual data flows before assigning urgency beyond the package-level finding.
Mitigation direction
- Inventory applications for react-bootstrap-table and WebJars npm packaging usage.
- Review vendor and Snyk guidance for fixed versions or maintained replacement options.
- Avoid passing untrusted content through dataFormat without safe encoding or sanitization.
- Ensure dataFormat returns valid React elements and does not trigger unsafe HTML fallback.
- Prioritize remediation on internet-facing and privileged-user workflows.
Validation and detection
- Check dependency manifests and lockfiles for react-bootstrap-table references.
- Search application code for dataFormat usage in table column definitions.
- Trace whether rendered table values can be controlled by users or external systems.
- Review affected routes for public access or privileged user exposure.
- Confirm current vendor guidance because no patch details are included in the bundle.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-23398 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 6.1 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P2.82.7Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
6.1MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-JS-REACTBOOTSTRAPTABLE-1314285CVE reference · x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1314286CVE reference · x_refsource_MISC
- https://github.com/AllenFang/react-bootstrap-table/blob/26d07defab759e4f9bce22d1d568690830b8d9d7/src/TableBody.js%23L114-L118CVE reference · x_refsource_MISC
- https://github.com/AllenFang/react-bootstrap-table/issues/2071CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
