{"id":"CVE-2021-27912","aliases":["CVE-2021-27912","GHSA-rh5w-82wh-jhr8"],"related":[],"kind":"vulnerability","state":"published","title":"XSS vulnerability on asset view","summary":"Mautic versions before 3.3.4/4.0.0 are vulnerable to an inline JS XSS attack when viewing Mautic assets by utilizing inline JS in the title and adding a broken image URL as a remote asset. This can only be leveraged by an authenticated user with permission to create or edit assets.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mautic versions before 3.3.4/4.0.0 are vulnerable to an inline JS XSS attack when viewing Mautic assets by utilizing inline JS in the title and adding a broken image URL as a remote asset. This can only be leveraged by an authenticated user with permission to create or edit assets.","source":"cvelist"},{"lang":"en","text":"### Impact\nMautic versions before 3.3.4 / 4.0.0 are vulnerable to an inline JS XSS attack when viewing Mautic assets by utilizing inline JS in the title and adding a broken image URL as a remote asset. This can only be leveraged by an authenticated user with permission to create or edit assets. \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 JS XSS en línea cuando se visualizan activos de Mautic al usar JS en línea en el título y añadiendo una URL de imagen rota como activo remoto. Esto sólo puede ser aprovechado por un usuario autenticado con permiso para crear o editar activos.","source":"nvd"}],"published":"2021-08-30T15:55:17.220Z","modified":"2026-07-08T06:30:02.762Z","severity":{"scorer":"Mautic","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Mautic","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},{"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"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"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-rh5w-82wh-jhr8","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27912","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2021-27912.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-27912","url":"https://www.cve.org/CVERecord?id=CVE-2021-27912","licence":"CVE Terms of Use","modified":"2024-09-16T16:17:39.112Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rh5w-82wh-jhr8","url":"https://github.com/advisories/GHSA-rh5w-82wh-jhr8","licence":"CC-BY-4.0","modified":"2026-07-08T06:30:02.762Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-27912","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27912","licence":"Public domain","modified":"2026-06-17T03:45:36.253Z"}],"updatedAt":"2026-11-25T22:58:03.546Z","epss":{"score":0.00604,"percentile":0.50256,"date":"2026-12-01T12:00:22.000Z"}}