{"id":"DRUPAL-CONTRIB-2022-042","details":"The Drupal Embed module provides a filter to allow embedding various embeddable items like entities in content fields.\n\nIn certain circumstances, the filter could allow an unprivileged user to inject HTML into a page when it is accessed by a trusted user with permission to embed items. In some cases, this could lead to Cross-Site Request Forgery.","modified":"2026-09-10T03:45:31.502419339Z","published":"2022-05-25T16:45:17Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2022-042"}],"affected":[{"package":{"name":"drupal/embed","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/embed?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0"}],"database_specific":{"constraint":"\u003c1.5.0"}}],"database_specific":{"source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/embed/DRUPAL-CONTRIB-2022-042.json","affected_versions":"\u003c1.5.0"}}],"schema_version":"1.9.0","credits":[{"name":"Aaron Zinck","contact":["https://www.drupal.org/user/518662"]}]}