Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2021-42136

A stored Cross-Site Scripting (XSS) vulnerability in the Missing Data Codes functionality of REDCap before 11.4.0 allows remote attackers to execute JavaScript code in the client's browser by storing said code as a Missing Data Code value.

EXPLOITCRITICAL 9.0EPSS 4.66%

Does this matter?

A public exploit is published in Exploit-DB and the impact is critical, while EPSS rates exploitation at 4.7%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.

Description

A stored Cross-Site Scripting (XSS) vulnerability in the Missing Data Codes functionality of REDCap before 11.4.0 allows remote attackers to execute JavaScript code in the client's browser by storing said code as a Missing Data Code value. This can then be leveraged to execute a Cross-Site Request Forgery attack to escalate privileges to administrator.

CVSS 3.1
9.0 CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
EPSS
4.66% probability · 92th percentile
Public exploits
1 in Exploit-DB · first 19 April 2022
CISA KEV
Not listed
Weakness
CWE-79: Cross-site scripting
Affected
vanderbilt/redcap
Source
cve@mitre.org

In plain terms

It can be reached over a network, but only by someone who already has an account, so stolen or shared credentials are the usual way in.

Reached from
Over a network. If the affected system can be reached from the internet, so can the flaw.
Effort
Nothing outside the attacker's control has to line up, so an attack can be repeated reliably.
Login needed
An ordinary user account.
Someone else involved
Yes. Someone has to do something, such as open a file or follow a link.
At risk
Reading data: serious. Changing data: serious. Stopping the service: serious.
Beyond the affected system
Yes. The effect can reach systems other than the one that has the flaw.

Read from the CVSS 3.1 vector above. It describes the flaw itself, not how your own systems are set up.

The first public exploit in Exploit-DB is dated 19 April 2022, 6 days after the record was published.

EPSS trend
0%3%5%5 December 2026: 4.66%5 December 20265 December 2026

EPSS 4.7% since 5 December 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-50877source ↗REDCap 11.3.9 - Stored Cross-Site Scripting (XSS)php · Kendrick Lamwebapps19 April 2022no

The same product

This is the only record we hold for vanderbilt/redcap. Follow this product to hear of the next one.

  • CVE-2026-90817Vanderbilt University Research Electronic Data Capture (REDCap) Code Injection VulnerabilityKEVCRITICAL 9.8EPSS 37.6%Listed 18 November 2026

Where to go from here

One vulnerability is rarely the whole question. These are free, and none of them asks for an account.

By email

Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.

Double opt-in. Unsubscribe in one click. No sharing, ever.

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.