LevelBlue Completes Acquisition of Trustwave to Form the World's Largest Pure-Play MSSP.  Learn More

LevelBlue Completes Acquisition of Trustwave to Form the World's Largest Pure-Play MSSP.  Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Operational Technology
End-to-end OT security
Microsoft Security
Unlock the full power of Microsoft Security
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Microsoft Security
Unlock the full power of Microsoft Security
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats

REDCap: Multiple Cross-Site Scripting (XSS) Vulnerabilities

REDCap, developed by Vanderbilt University, is a secure platform designed for data collection in research studies and operations.

REDCap is popular within scientific institutions and universities that require strict compliance with government regulations and data privacy laws when conducting data collection for research purposes. It is particularly useful for managing studies that often contain sensitive or private information.

As a researcher for Trustwave SpiderLabs, a LevelBlue Company, I identified three instances of a stored cross-site scripting (XSS) vulnerability in the REDCap application. When exploited, these vulnerabilities could allow attackers to execute malicious JavaScript code in victims' browsers, potentially compromising sensitive data.

 

The Vulnerabilities:

The REDCap applications older than version 15.0.27 LTS are vulnerable to XSS caused by failure to correctly encode untrusted data. Although the application has implemented security features to prevent XSS attacks, such as removing HTML event attributes, I was still able to identify an XSS payload that bypassed the security features.

Dedicated to hunting and eradicating the world’s most challenging threats.

SpiderLabs

The following locations were affected:

  • REDCap Message
  • Project Title
  • Instrument Name

Although the REDCap session cookie was found to have the 'HttpOnly' attribute set during testing, the identified vulnerabilities could still pose risks to users and their data.

 

Proof of Concept

Here is a sample Proof of Concept (PoC), which applies to the affected locations listed above.

  1. Ensure that you’re authenticated to the REDCap application as a standard application user.
  2. Navigate to the Messenger function by clicking the top navigation bar.
  3. Create a standard conversation.
  4. Send a message containing an XSS payload. For example:
    <a href="j&#x61vascript:alert(1)">Click Me</a>
  5. Observe that the payload is executed when clicking the "Click Me" link in the message.

This payload, when inserted into various fields within REDCap, creates clickable elements that execute the malicious JavaScript when clicked.

 

Remediation

The patched versions 15.0.27 LTS and 15.4.3 Standard were released on June 12, 2025. Trustwave strongly recommends that all REDCap users update to the latest version immediately.

 

CVE Assignment

This vulnerability went through the Trustwave Responsible Disclosure Program. Trustwave has applied for a CVE for this vulnerability as soon as the patched versions were released in June. However, delays with the CVE Program have delayed the CVE assignment. When a CVE is assigned to these vulnerabilities, we will update this post.

About the Author

Harold Zang is Senior Security Specialist at Trustwave. Follow Harold on LinkedIn.

ABOUT TRUSTWAVE

Trustwave, A LevelBlue Company, is a globally recognized cybersecurity leader that reduces cyber risk and fortifies organizations against disruptive and damaging cyber threats. Our comprehensive offensive and defensive cybersecurity portfolio detects what others cannot, responds with greater speed and effectiveness, optimizes client investment, and improves security resilience. Learn more about us.

Latest Intelligence

Discover how our specialists can tailor a security program to fit the needs of
your organization.

Request a Demo