{"id":"CVE-2021-27911","aliases":["CVE-2021-27911","GHSA-72hm-fx78-xwhc"],"related":[],"kind":"vulnerability","state":"published","title":"XSS vulnerability on contacts view","summary":"Mautic versions before 3.3.4/4.0.0 are vulnerable to an inline JS XSS attack through the contact's first or last name and triggered when viewing a contact's details page then clicking on the action drop down and hovering over the Campaigns button. Contact first and last name can be populated from different sources such as UI, API, 3rd party syncing, forms, etc.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mautic versions before 3.3.4/4.0.0 are vulnerable to an inline JS XSS attack through the contact's first or last name and triggered when viewing a contact's details page then clicking on the action drop down and hovering over the Campaigns button. Contact first and last name can be populated from different sources such as UI, API, 3rd party syncing, forms, etc.","source":"cvelist"},{"lang":"en","text":"### Impact\nMautic versions before 3.3.4/4.0.0 are vulnerable to an inline JS XSS attack through the contact's first or last name and triggered when viewing a contact's details page then clicking on the action drop down and hovering over the Campaigns button. Contact first and last name can be populated from different sources such as UI, API, 3rd party syncing, forms, etc. \n\n### Patches\nUpgrade to 3.3.4 or 4.0.0\n\n### Workarounds\nNo\n\n### References\nhttps://github.com/mautic/mautic/releases/tag/3.3.4\nhttps://github.com/mautic/mautic/releases/tag/4.0.0\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [security@mautic.org](mailto:security@mautic.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Mautic versiones anteriores a 3.3.4/4.0.0, son vulnerables a un ataque de tipo inline JS XSS mediante el nombre o el apellido del contacto y es desencadenado cuando se visualiza la página de detalles de un contacto y luego se hace clic en el desplegable de acciones y se pasa por encima del botón Campañas. El nombre y los apellidos de los contactos pueden provenir de diferentes fuentes, como la interfaz de usuario, la API, la sincronización de terceros, los formularios, etc.","source":"nvd"}],"published":"2021-08-30T15:55:12.869Z","modified":"2026-07-08T06:29:24.022Z","severity":{"scorer":"Mautic","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"Mautic","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.3.4","status":"affected"},{"type":"custom","introduced":"unspecified","fixed":"4.0.0","status":"affected"}],"vendor":"Mautic","product":"Mautic","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.3.4"}],"ecosystem":"Packagist","package":"mautic/core","purl":"pkg:composer/mautic/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0-alpha1","status":"affected","fixed":"4.0.0"}],"ecosystem":"Packagist","package":"mautic/core","purl":"pkg:composer/mautic/core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.3.4"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"}],"vendor":"acquia","product":"mautic","cpe":"cpe:2.3:a:acquia:mautic:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/mautic/mautic/security/advisories/GHSA-72hm-fx78-xwhc","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27911","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2021-27911.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mautic/mautic","tags":["package"],"sources":["ghsa"]}],"credits":["Reported by Hoang Nguyen https://github.com/MatisAct, Fixed by Rohit Pavaskar https://github.com/rohitp19"],"assigner":"Mautic","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-27911","url":"https://www.cve.org/CVERecord?id=CVE-2021-27911","licence":"CVE Terms of Use","modified":"2024-09-16T22:30:01.569Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-72hm-fx78-xwhc","url":"https://github.com/advisories/GHSA-72hm-fx78-xwhc","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:24.022Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-27911","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27911","licence":"Public domain","modified":"2026-06-17T03:45:36.137Z"}],"updatedAt":"2026-11-25T22:58:03.546Z","epss":{"score":0.00642,"percentile":0.52115,"date":"2026-12-01T12:00:22.000Z"}}