{"answers":{"affected":"10 open source packages ship an affected version, including typicms/core. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27621 exists.","fix":"Upgrade typicms/core to a fixed version for your release line: 12.0.5, 13.0.9, 14.0.27 or 15.0.29.","what":"CVE-2026-27621 is a medium-severity cross-site scripting vulnerability in TypiCMS Core, published on 25 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-27621 and fix it if it is affected.\n\nWhat it is: CVE-2026-27621 is a medium-severity cross-site scripting vulnerability in TypiCMS Core, published on 25 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27621 exists.\n\nAffected packages and fixed versions:\n- typicms/core (Packagist): affected all versions; fixed in 12.0.5\n- typicms/core (Packagist): affected all versions; fixed in 12.0.5\n- typicms/core (Packagist): affected from 13.0.0; fixed in 13.0.9\n- typicms/core (Packagist): affected from 13.0.0; fixed in 13.0.9\n- typicms/core (Packagist): affected from 14.0.0; fixed in 14.0.27\n- typicms/core (Packagist): affected from 14.0.0; fixed in 14.0.27\n- typicms/core (Packagist): affected from 15.0.0; fixed in 15.0.29\n- typicms/core (Packagist): affected from 15.0.0; fixed in 15.0.29\n- typicms/core (Packagist): affected from 16.0.0; fixed in 16.1.7\n- typicms/core (Packagist): affected from 16.0.0; fixed in 16.1.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-27621/ (Markdown: https://insights.sbomify.com/CVE-2026-27621/index.md)","id":"CVE-2026-27621","markdown":"https://insights.sbomify.com/CVE-2026-27621/index.md","name":"CVE-2026-27621","record":{"aliases":["GHSA-xfvg-8v67-j7wp"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"TypiCMS Core","requires_auth":"low_privilege","summary":"Attackers can upload malicious SVG files to execute scripts in other users' browsers, potentially leading to session hijacking.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"typicms","vendor":"typicms"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2026-04-11","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-11T19:15:23Z","kind":"github_poc","ref":"https://github.com/lukasz-rybak/CVE-2026-27621","stars":0,"title":"CVE-2026-27621 - TypiCMS Core has Stored Cross-Site Scripting (XSS) via SVG File Upload"}],"tier":"weaponised"},"has_fix":true,"headline":"TypiCMS Core has Stored Cross-Site Scripting (XSS) via SVG File Upload","id":"CVE-2026-27621","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":10,"n_references":2,"next":{"headline":"OpenEXR CompositeDeepScanLine integer-overflow leads to heap OOB write","id":"CVE-2026-27622"},"packages":[{"ecosystem":"Packagist","fixed":["12.0.5"],"introduced":["0"],"last_affected":[],"package":"typicms/core","purl":null,"source":"GHSA-xfvg-8v67-j7wp"},{"ecosystem":"Packagist","fixed":["12.0.5"],"introduced":["0"],"last_affected":[],"package":"typicms/core","purl":"pkg:composer/typicms/core","source":"GHSA-xfvg-8v67-j7wp"},{"ecosystem":"Packagist","fixed":["13.0.9"],"introduced":["13.0.0"],"last_affected":[],"package":"typicms/core","purl":null,"source":"GHSA-xfvg-8v67-j7wp"},{"ecosystem":"Packagist","fixed":["13.0.9"],"introduced":["13.0.0"],"last_affected":[],"package":"typicms/core","purl":"pkg:composer/typicms/core","source":"GHSA-xfvg-8v67-j7wp"},{"ecosystem":"Packagist","fixed":["14.0.27"],"introduced":["14.0.0"],"last_affected":[],"package":"typicms/core","purl":null,"source":"GHSA-xfvg-8v67-j7wp"},{"ecosystem":"Packagist","fixed":["14.0.27"],"introduced":["14.0.0"],"last_affected":[],"package":"typicms/core","purl":"pkg:composer/typicms/core","source":"GHSA-xfvg-8v67-j7wp"},{"ecosystem":"Packagist","fixed":["15.0.29"],"introduced":["15.0.0"],"last_affected":[],"package":"typicms/core","purl":null,"source":"GHSA-xfvg-8v67-j7wp"},{"ecosystem":"Packagist","fixed":["15.0.29"],"introduced":["15.0.0"],"last_affected":[],"package":"typicms/core","purl":"pkg:composer/typicms/core","source":"GHSA-xfvg-8v67-j7wp"},{"ecosystem":"Packagist","fixed":["16.1.7"],"introduced":["16.0.0"],"last_affected":[],"package":"typicms/core","purl":null,"source":"GHSA-xfvg-8v67-j7wp"},{"ecosystem":"Packagist","fixed":["16.1.7"],"introduced":["16.0.0"],"last_affected":[],"package":"typicms/core","purl":"pkg:composer/typicms/core","source":"GHSA-xfvg-8v67-j7wp"}],"prev":{"headline":"Vikunja Vulnerable to Stored Cross-Site Scripting (XSS) via Unsanitized SVG Attachment Upload Leading to Token Exposure","id":"CVE-2026-27616"},"products":["Core"],"published":"2026-02-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["TypiCMS"]},"summary":"Attackers can upload malicious SVG files to execute scripts in other users' browsers, potentially leading to session hijacking.","url":"https://insights.sbomify.com/CVE-2026-27621/"}