{"id":"CVE-2025-65012","aliases":["CVE-2025-65012","GHSA-84hf-8gh5-575j"],"related":[],"kind":"vulnerability","state":"published","title":"Kirby CMS has cross-site scripting (XSS) in the changes dialog","summary":"Kirby is an open-source content management system. From versions 5.0.0 to 5.1.3, attackers could change the title of any page or the name of any user to a malicious string. Then they could modify any content field of the same model without saving, making the model a candidate for display in the \"Changes\" dialog. If another authenticated user subsequently opened the dialog in their Panel, the malicious code would be executed. This vulnerability affects all Kirby 5 sites that might have potential attackers in the group of authenticated Panel users or that allow external visitors to update page titles or usernames. The attack requires user interaction by another Panel user and cannot be automated. This issue has been patched in version 5.1.4.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Kirby is an open-source content management system. From versions 5.0.0 to 5.1.3, attackers could change the title of any page or the name of any user to a malicious string. Then they could modify any content field of the same model without saving, making the model a candidate for display in the \"Changes\" dialog. If another authenticated user subsequently opened the dialog in their Panel, the malicious code would be executed. This vulnerability affects all Kirby 5 sites that might have potential attackers in the group of authenticated Panel users or that allow external visitors to update page titles or usernames. The attack requires user interaction by another Panel user and cannot be automated. This issue has been patched in version 5.1.4.","source":"cvelist"},{"lang":"en","text":"### TL;DR\n\nThis vulnerability affects all Kirby 5 sites that might have potential attackers in the group of authenticated Panel users or that allow external visitors to update page titles or usernames.\n\nThe attack requires user interaction by another Panel user and *cannot* be automated.\n\n----\n\n### Introduction\n\nCross-site scripting (XSS) is a type of vulnerability that allows to execute any kind of JavaScript code inside the Panel session of the same or other users. In the Panel, a harmful script can for example trigger requests to Kirby's API with the permissions of the victim.\n\nSuch vulnerabilities are critical if you might have potential attackers in your group of authenticated Panel users. They can escalate their privileges if they get access to the Panel session of an admin user. Depending on your site, other JavaScript-powered attacks are possible.\n\n### Impact\n\nThe \"Changes\" dialog in the Panel displays all content models (pages, files, users) with changed content, i.e. with content that has not yet been published. Each changed model is listed with its preview image/icon and its title/name.\n\nAttackers could change the title of any page or the name of any user to a malicious string. Then they could modify any content field of the same model without saving, making the model a candidate for display in the \"Changes\" dialog. If another authenticated user subsequently opened the dialog in their Panel, the malicious code would be executed.\n\n### Patches\n\nThe problem has been patched in [Kirby 5.1.4](https://github.com/getkirby/kirby/releases/tag/5.1.4). Please update to this or a [later version](https://github.com/getkirby/kirby/releases) to fix the vulnerability.\n\nIn the patch release, we have added the required escaping code to signal to the browser the intent of displaying plain text instead of code in the places where the model titles are rendered.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Kirby es un sistema de gestión de contenido de código abierto. Desde las versiones 5.0.0 hasta la 5.1.3, los atacantes podían cambiar el título de cualquier página o el nombre de cualquier usuario a una cadena maliciosa. Luego podían modificar cualquier campo de contenido del mismo modelo sin guardar, convirtiendo el modelo en un candidato para ser mostrado en el diálogo de “Cambios”. Si otro usuario autenticado abría posteriormente el diálogo en su Panel, el código malicioso sería ejecutado. Esta vulnerabilidad afecta a todos los sitios de Kirby 5 que puedan tener atacantes potenciales en el grupo de usuarios autenticados del Panel o que permitan a visitantes externos actualizar títulos de página o nombres de usuario. El ataque requiere la interacción de otro usuario del Panel y no puede ser automatizado. Este problema ha sido parcheado en la versión 5.1.4.","source":"nvd"}],"published":"2025-11-18T18:01:25.000Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 5.0.0, < 5.1.4","status":"affected"}],"vendor":"getkirby","product":"kirby","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.1.4"}],"ecosystem":"Packagist","package":"getkirby/cms","purl":"pkg:composer/getkirby/cms","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.0.0","fixed":"5.1.4"}],"vendor":"getkirby","product":"kirby","cpe":"cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/getkirby/kirby/security/advisories/GHSA-84hf-8gh5-575j","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/getkirby/kirby/releases/tag/5.1.4","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65012","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/getkirby/kirby","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-11-19T17:06:09.917Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-65012","url":"https://www.cve.org/CVERecord?id=CVE-2025-65012","licence":"CVE Terms of Use","modified":"2025-11-19T17:06:24.803Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-84hf-8gh5-575j","url":"https://github.com/advisories/GHSA-84hf-8gh5-575j","licence":"CC-BY-4.0","modified":"2025-11-20T10:33:29.038Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-65012","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65012","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:07.803Z","epss":{"score":0.00196,"percentile":0.09767,"date":"2026-12-01T12:00:22.000Z"}}