{"id":"CVE-2024-53999","published":"2024-12-03T15:39:32Z","modified":"2024-12-03T17:00:14Z","title":"Mobile Security Framework (MobSF) Stored Cross-Site Scripting Vulnerability in \"Diff or Compare\" Functionality","vendor":"MobSF","product":"Mobile-Security-Framework-MobSF","tier":"tail","description":{"text":"Mobile Security Framework (MobSF) is a pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis. The application allows users to upload files with scripts in the filename parameter. As a result, a malicious user can upload a script file to the system. When users in the application use the \"Diff or Compare\" functionality, they are affected by a Stored Cross-Site Scripting vulnerability. This vulnerability is fixed in 4.2.9.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00787,"percentile":0.52721,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-5jc6-h9w7-jm3p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/27d165872847f5ae7417caf09f37edeeba741e1e","tags":["x_refsource_MISC"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":10.54},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"mobsf","affectedVersions":[{"vendor":"MobSF","product":"Mobile-Security-Framework-MobSF","versions":["< 4.2.9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-12-03T16:59:16.246426Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mobsf","vulnerableRanges":["<4.2.9"],"patched":["4.2.9"],"from":["GHSA-5jc6-h9w7-jm3p","PYSEC-2026-1666"],"provenance":"source"}],"summary":{"text":"The Mobile Security Framework (MobSF) pen-testing and analysis tool fails to sanitise the filename parameter of uploaded files, so a stored cross-site scripting flaw appears when users view results in its \"Diff or Compare\" functionality. An attacker who can upload a file with a script in its filename and get a user to open that comparison view, which requires a privileged account on the instance and user interaction, can run script in that user's browser session.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:51Z"},"euvd":{"id":"EUVD-2024-3432","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-31215","published":"2024-04-04","fixed":"3.9.8","kev":false},{"cve":"CVE-2024-41955","published":"2024-07-31","fixed":"4.0.5","kev":false},{"cve":"CVE-2024-43399","published":"2024-08-19","fixed":"4.0.7","kev":false,"link":{"from":"CVE-2024-43399","to":"CVE-2024-53999","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mobsf","fromFixed":"4.0.7","toFixed":"4.2.9","daysApart":106},{"kind":"same-code","provenance":"machine","files":["mobsf/MobSF/init.py"],"commits":["https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/cc625fe8430f3437a473e82aa2966d100a4dc883","https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/27d165872847f5ae7417caf09f37edeeba741e1e"],"basis":"shared file"}]}},{"cve":"CVE-2024-53999","published":"2024-12-03","fixed":"4.2.9","kev":false},{"cve":"CVE-2025-24803","published":"2025-02-05","fixed":"4.3.1","kev":false,"link":{"from":"CVE-2024-53999","to":"CVE-2025-24803","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mobsf","fromFixed":"4.2.9","toFixed":"4.3.1","daysApart":64},{"kind":"same-code","provenance":"machine","files":["mobsf/MobSF/init.py"],"commits":["https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/27d165872847f5ae7417caf09f37edeeba741e1e","https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/05206e72cae35b311615a70e51e1a946955c5e83"],"basis":"shared file"}]}},{"cve":"CVE-2025-24804","published":"2025-02-05","fixed":"4.3.1","kev":false,"link":{"from":"CVE-2024-53999","to":"CVE-2025-24804","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mobsf","fromFixed":"4.2.9","toFixed":"4.3.1","daysApart":64},{"kind":"same-code","provenance":"machine","files":["mobsf/MobSF/init.py"],"commits":["https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/27d165872847f5ae7417caf09f37edeeba741e1e","https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/05206e72cae35b311615a70e51e1a946955c5e83"],"basis":"shared file"}]}},{"cve":"CVE-2025-24805","published":"2025-02-05","fixed":"4.3.1","kev":false,"link":{"from":"CVE-2024-53999","to":"CVE-2025-24805","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mobsf","fromFixed":"4.2.9","toFixed":"4.3.1","daysApart":64},{"kind":"same-code","provenance":"machine","files":["mobsf/MobSF/init.py"],"commits":["https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/27d165872847f5ae7417caf09f37edeeba741e1e","https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/05206e72cae35b311615a70e51e1a946955c5e83"],"basis":"shared file"}]}}],"package":"PyPI:mobsf"}}