Stored Cross-Site Scripting (XSS) in MobSF
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
Mobile Security Framework (MobSF) is an automated, all-in-one mobile application (Android/iOS/Windows) pen-testing, malware analysis and security assessment framework. According to Apple's documentation for bundle ID's, it must contain only alphanumeric characters (A–Z, a–z, and 0–9), hyphens (-), and periods (.). However, an attacker can manually modify this value in the `Info.plist` file and add special characters to the `<key>CFBundleIdentifier</key>` value. The `dynamic_analysis.html` file does not sanitize the received bundle value from Corellium and as a result, it is possible to break the HTML context and achieve Stored XSS. This issue has been addressed in version 4.3.1 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MobSF | Mobile-Security-Framework-MobSF | = 4.3.0 | — | No fix listed | CNA |
| — | mobsf (PyPI) | before 4.3.1 | 4.3.1 | Patch available | GHSA-cxqq-w3x5-7ph3 |
- Mobile-Security-Framework-MobSF VendorMobSF Affected = 4.3.0 Fixed in — No fix listed CNA
- mobsf (PyPI) Vendor— Affected before 4.3.1 Fixed in 4.3.1 Patch available GHSA-cxqq-w3x5-7ph3
Remediation
- Fix · GHSA-cxqq-w3x5-7ph3 mobsf (PyPI) Fixed in 4.3.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-24803
- 2026-10-03 Alias added: GHSA-cxqq-w3x5-7ph3
References
Exploit 1
Other 3
- https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundleidentifier
- https://github.com/MobSF/Mobile-Security-Framework-MobSF
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/blob/d1d3b7a9aeb1a8c8c7c229a3455b19ade9fa8fe0/mobsf/templates/dynamic_analysis/ios/dynamic_analysis.html#L406
More MobSF Mobile Security Framework vulnerabilities
- TI-2024-29048 Mobile Security Framework (MobSF) has a Zip Slip Vulnerability in .a Static Library Files CVSS 3.1CRITICAL 9.8
- TI-2025-22377 Mobile Security Framework (MobSF) has a SSRF Vulnerability fix bypass on assetlinks_check with DNS Rebinding CVSS 3.1CRITICAL 9.8
- TI-2025-29076 Mobile Security Framework (MobSF) Allows Stored Cross Site Scripting (XSS) via malicious SVG Icon Upload CVSS 4.0HIGH 8.6
- TI-2025-18522 Local Privilege Escalation in MobSF CVSS 4.0HIGH 8.5
- TI-2024-36155 Mobile Security Framework (MobSF) bypass of SSRF fix CVSS 3.1HIGH 7.5
- TI-2024-19359 MobSF SSRF Vulnerability on assetlinks_check(act_name, well_knowns) CVSS 3.1HIGH 7.5
Sources
- CVE-2025-24803 · CVE Program
- CVE-2025-24803 · NVD
- FIRST EPSS
- GHSA-cxqq-w3x5-7ph3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences