LiveActive security incident?Get immediate response
CVE Record

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

All versions of package react-bootstrap-table are vulnerable to Cross-site Scripting (XSS) via the dataFormat parameter. The problem is triggered when an invalid React element is returned, leading to dangerouslySetInnerHTML being used, which does not sanitize the output.

MediumCVSS 6.1Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

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.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

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 · low confidence lookup

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
Vulnerability profileCVE Program record
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

Official CVE source material

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.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We 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.

ScoreVersionSeverityVectorExploitImpactSource
6.1CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P2.82.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.1Medium
CVSS 3.1 vector shape for CVE-2021-23398Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/areact-bootstrap-table0Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.