{"id":"DRUPAL-CONTRIB-2025-113","details":"CivicTheme is a design system and theme framework used to build content-rich Drupal websites. It includes editorial workflows, structured content types, and flexible theming components.\n\nCivicTheme does not sufficiently filter field data before rendering them in Twig templates. This combined with multiple instances of the Twig `raw` filter throughout CivicTheme components, allows for the injection of malicious scripts in browser contexts.\n\nAdditionally, CivicTheme fails to filter markup from SVGs embedded within the web page allowing potentially malicious scripts to be injected.\n\nThis vulnerability is mitigated by an attacker needing permission to create or edit content within a CivicTheme site.\n\nCivicTheme with its default permissions restricts the creation of content to content author and content approver roles.","aliases":["CVE-2025-12083","GHSA-h72q-cq3w-h3wc"],"modified":"2025-12-10T23:41:00.574838Z","published":"2025-10-22T16:35:12Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2025-113"}],"affected":[{"package":{"name":"drupal/civictheme","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/civictheme"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.0"}],"database_specific":{"constraint":"\u003c1.12.0"}}],"database_specific":{"affected_versions":"\u003c1.12.0","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/civictheme/DRUPAL-CONTRIB-2025-113.json"}}],"schema_version":"1.7.3","credits":[{"name":"Adam Bramley (acbramley)","contact":["https://www.drupal.org/u/acbramley"]},{"name":"Lee Rowlands (larowlan)","contact":["https://www.drupal.org/u/larowlan"]}]}