{"id":"CVE-2024-55342","aliases":["EUVD-2024-3578","GHSA-cmwp-442x-3rcv"],"status":"published","title":"Piranha CMS Cross-site Scripting vulnerability","description":"A file upload functionality in Piranha CMS 11.1 allows authenticated remote attackers to upload a crafted PDF file to /manager/media. This PDF can contain malicious JavaScript code, which is executed when a victim user opens or interacts with the PDF in their web browser, leading to a XSS vulnerability.","severity":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00507,"percentile":0.43565,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2024-12-20T00:00:00Z","modified":"2026-10-28T02:30:26Z","affected":[{"source":"ghsa","ecosystem":"NuGet","package":"Piranha","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"11.1.0"}]}]},{"source":"osv","ecosystem":"NuGet","package":"Piranha","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"11.1.0"}]}],"versions":["10.0.0","10.0.1","10.0.2","10.0.3","10.0.4","10.1.0","10.2.0","10.3.0","10.4.0","11.0.0","11.1.0","4.0.0","4.0.0-alpha1","4.0.0-alpha3","4.0.0-alpha4","4.0.0-alpha5","4.0.0-alpha6","4.0.0-alpha7","4.0.0-alpha7-1","4.0.0-alpha8","4.0.0-alpha9","4.0.0-beta1","4.0.0-rc1","4.1.0","4.1.0-alpha1","4.1.0-beta1","4.1.0-beta2","4.1.1","4.2.0","4.2.0-alpha1","4.2.0-alpha2","4.2.0-beta1","4.2.1","4.3.0","4.3.0-beta1","5.0.0","5.0.0-alpha1","5.0.0-beta1","5.1.0","5.1.0-alpha1","5.1.0-alpha2","5.1.0-beta1","5.1.1","5.1.2","5.2.0","5.2.0-beta1","5.2.0-beta2","5.2.1","5.3.0","5.3.0-beta1","5.3.1","5.4.0","6.0.0","6.0.1","6.1.0","7.0.0","7.0.0-alpha1","7.0.0-alpha2","7.0.0-alpha3","7.0.0-beta1","7.0.0-rc1","7.0.1","7.0.2","7.0.3","7.1.0","8.0.0","8.0.1","8.0.2","8.1.0","8.2.0","8.3.0","8.4.0","8.4.1","8.4.2","9.0.0","9.0.0-beta1","9.0.0-rc1","9.0.0-rc2","9.0.1","9.1.0","9.1.0-alpha1","9.1.0-alpha2","9.1.0-beta1","9.1.1","9.2.0"]}],"products":[{"vendor":"dotnetfoundation","product":"piranha_cms"}],"references":[{"url":"https://github.com/PiranhaCMS/piranha.core","tags":["Product","package"]},{"url":"https://sec-fortress.github.io/posts/articles/posts/CVE-2024-55342.html","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55342","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-cmwp-442x-3rcv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55342.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-55342","description":"A file upload functionality in Piranha CMS 11.1 allows authenticated remote attackers to upload a crafted PDF file to /manager/media. This PDF can contain malicious JavaScript code, which is executed when a victim user opens or interacts with the PDF in their web browser, leading to a XSS vulnerability.","status":"published","published":"2024-12-20T00:00:00Z","modified":"2024-12-20T19:59:14.577Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:22.153872Z"}],"euvd":[{"id":"EUVD-2024-3578","description":"A file upload functionality in Piranha CMS 11.1 allows authenticated remote attackers to upload a crafted PDF file to /manager/media. This PDF can contain malicious JavaScript code, which is executed when a victim user opens or interacts with the PDF in their web browser, leading to a XSS vulnerability.","status":"published","published":"2024-12-20T00:00:00Z","modified":"2024-12-20T19:59:14Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T00:04:33.692832Z"}],"ghsa":[{"id":"GHSA-cmwp-442x-3rcv","title":"Piranha CMS Cross-site Scripting vulnerability","description":"A file upload functionality in Piranha CMS 11.1 allows authenticated remote attackers to upload a crafted PDF file to /manager/media. This PDF can contain malicious JavaScript code, which is executed when a victim user opens or interacts with the PDF in their web browser, leading to a XSS vulnerability.","status":"published","published":"2024-12-20T21:30:46Z","modified":"2024-12-20T21:54:13Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:26.167657Z"}],"nvd":[{"id":"CVE-2024-55342","description":"A file upload functionality in Piranha CMS 11.1 allows authenticated remote attackers to upload a crafted PDF file to /manager/media. This PDF can contain malicious JavaScript code, which is executed when a victim user opens or interacts with the PDF in their web browser, leading to a XSS vulnerability.","status":"published","published":"2024-12-20T19:15:08.853Z","modified":"2026-06-17T08:11:04.8Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:10:40.507978Z"}],"osv":[{"id":"CVE-2024-55342","description":"A file upload functionality in Piranha CMS 11.1 allows authenticated remote attackers to upload a crafted PDF file to /manager/media. This PDF can contain malicious JavaScript code, which is executed when a victim user opens or interacts with the PDF in their web browser, leading to a XSS vulnerability.","status":"published","published":"2024-12-20T00:00:00Z","modified":"2026-10-28T02:30:26.191397735Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:44.451316Z"},{"id":"GHSA-cmwp-442x-3rcv","title":"Piranha CMS Cross-site Scripting vulnerability","description":"A file upload functionality in Piranha CMS 11.1 allows authenticated remote attackers to upload a crafted PDF file to /manager/media. This PDF can contain malicious JavaScript code, which is executed when a victim user opens or interacts with the PDF in their web browser, leading to a XSS vulnerability.","status":"published","published":"2024-12-20T21:30:46Z","modified":"2024-12-20T22:12:25.982386Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:45.28161Z"}]}}
