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…

published April 13, 2022

CVSS
—
EPSS
5%
Percentile
91.7
In the wild
Unconfirmed
What it is

⚠️ A sneaky stored XSS vulnerability hides in REDCap's Missing Data Codes! With a crafty entry, attackers can execute JavaScript right in victims' browsers. 🔥 Think of it as a restaurant that allows customers to write their own notes on the order form—I could request 'extra chili,' but instead, I send a note to the chef asking for an extra spicy surprise that affects all the dinners around me! Once an attacker slips their JavaScript into a Missing Data Code, they can execute it in unsuspecting users' browsers, potentially leading to a Cross-Site Request Forgery (CSRF) attack. This could allow them to escalate their privileges to administrator, compromising the entire system and its sensitive data!

Put simply

Think of it as a restaurant that allows customers to write their own notes on the order form—I could request 'extra chili,' but instead, I send a note to the chef asking for an extra spicy surprise that affects all the dinners around me! This stored XSS vulnerability occurs when malicious JavaScript code is saved within the Missing Data Codes in REDCap, which executes in victims' browsers without their knowledge, enabling further attacks like CSRF.

What to do

Once an attacker slips their JavaScript into a Missing Data Code, they can execute it in unsuspecting users' browsers, potentially leading to a Cross-Site Request Forgery (CSRF) attack. This could allow them to escalate their privileges to administrator, compromising the entire system and its sensitive data! To protect your system, update REDCap to version 11.4.0 or later immediately! Additionally, validate and sanitize user inputs to prevent this kind of injection in the future. Regular security audits could also help in identifying similar vulnerabilities. You've got this! By taking these steps, you're making the web a safer place! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.04657 · 91.7th percentile
Published
2022-04-13T15:32Z
EPSS history
Timeline
  • 13 APR 15:32Z
    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…
    cvelistv5