Click-to-Call for Twilio - Reflected cross-site scripting (XSS)

Summary

NameClick-to-Call for Twilio twili - Reflected cross-site scripting (XSS)
Code nameskims-0003
ProductClick-to-Call for Twilio
Affected versionsVersion twili
StatePrivate
Release date2025-03-14

Vulnerability

KindReflected cross-site scripting (XSS)
RuleReflected cross-site scripting (XSS)
RemoteNo
CVSSv4 VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:L/SC:L/SI:L/SA:L/E:U
CVSSv4 Base Score4.8 (Medium)
Exploit availableNo
CVE ID(s)CVE-2025-31288

Description

Click-to-Call for Twilio twili was found to be vulnerable. The web application dynamically generates web content without validating the source of the potentially untrusted data in myapp/lib/outbound.php.

Vulnerability

Skims by Fluid Attacks discovered a Reflected cross-site scripting (XSS) in Click-to-Call for Twilio twili. The following is the output of the tool:

Skims output

 6 | $welcome = urldecode($_GET['welcome']);
 7 | header(""content-type: text/xml"");
 8 | echo ""<?xml version=""1.0"" encoding=""UTF-8""?>
"";
 9 | ?>
 10 | <Response>
 11 | <?php
 12 | if( $welcome){
 13 | echo '<Say>'. $welcome.'</Say>';
 14 | }
 15 | ?>
 16 | <Dial>
 17 | <Number url=""screen_for_machine.php"">
> 18 | <?php echo $agentNumber; ?>
 19 | </Number>
 20 | </Dial>
 21 | <Say>Goodbye.</Say>
 22 | </Response>
     ^ Col 0

Our security policy

We have reserved the ID CVE-2025-31288 to refer to this issue from now on.

System Information

  • Product: Click-to-Call for Twilio
  • Version: twili

Mitigation

There is currently no patch available for this vulnerability.

Credits

The vulnerability was discovered by Andres Roldan from Fluid Attacks' Offensive Team using Skims

Timeline

Time-lapse-logo

2025-03-14

Vulnerability discovered.

Time-lapse-logo

2025-03-14

Vendor contacted.

Fluid Logo Footer

Testing software security for over 20 years

Fluid Attacks tests applications and other systems, covering all software development stages. Our team assists clients in quickly identifying and managing vulnerabilities to reduce the risk of incidents and deploy secure technology.

Copyright © 0 Fluid Attacks. We hack your software. All rights reserved.