{"id":"CVE-2026-27621","published":"2026-02-25T02:36:12Z","modified":"2026-02-26T20:59:12Z","title":"TypiCMS Core has Stored Cross-Site Scripting (XSS) via SVG File Upload","vendor":"TypiCMS","product":"Core","tier":"tail","description":{"text":"TypiCMS is a multilingual content management system based on the Laravel framework. A Stored Cross-Site Scripting (XSS) vulnerability exists in the file upload module of TypiCMS prior to version 16.1.7. The application allows users with file upload permissions to upload SVG files. While there is a MIME type validation, the content of the SVG file is not sanitized. An attacker can upload a specially crafted SVG file containing malicious JavaScript code. When another user (such as an administrator) views or accesses this file through the application, the script executes in their browser, leading to a compromise of that user's session. The issue is exacerbated by a bug in the SVG parsing logic, which can cause a 500 error if the uploaded SVG does not contain a `viewBox` attribute. However, this does not mitigate the XSS vulnerability, as an attacker can easily include a valid `viewBox` attribute in their malicious payload. Version 16.1.7 of TypiCMS Core fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00229,"percentile":0.13738,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/TypiCMS/Core/security/advisories/GHSA-xfvg-8v67-j7wp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/TypiCMS/Core/commit/d480a0be1e8e7c0600bb9a325bb11920ee66497d","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":2.75},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.76}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-04-11","earliestUrl":"https://github.com/lukasz-rybak/CVE-2026-27621","repos":[{"name":"lukasz-rybak/CVE-2026-27621","url":"https://github.com/lukasz-rybak/CVE-2026-27621","stars":0,"created":"2026-04-11"}]},"first":{"date":"2026-04-11","source":"PoC-in-GitHub","url":"https://github.com/lukasz-rybak/CVE-2026-27621"},"provenance":"source"},"vendorSlug":"typicms","affectedVersions":[{"vendor":"TypiCMS","product":"Core","versions":["< 16.1.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-26T20:59:03.278958Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"typicms/core","vulnerableRanges":[">=16.0.0, <16.1.7",">=15.0.0, <15.0.29",">=14.0.0, <14.0.27",">=13.0.0, <13.0.9","<12.0.5"],"patched":["16.1.7","15.0.29","14.0.27","13.0.9","12.0.5"],"from":["GHSA-xfvg-8v67-j7wp"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw in the file upload module of TypiCMS Core (prior to 16.1.7) lets users with upload permissions store SVG files whose contents are not sanitized, so embedded JavaScript is preserved. An attacker with low privileges and file upload rights can exploit this when another user, such as an administrator, has to view or open the uploaded file in the application, which requires user interaction and results in high confidentiality impact on that user's session.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:28Z"},"euvd":{"id":"EUVD-2026-8598","exploited":false,"provenance":"source"}}