{"id":"DRUPAL-CONTRIB-2023-020","details":"This module enables you to define a 'weekly office hours' field type, and add a field to any Content type, in order to display the weekly opening hours for a location.\n\nThe module doesn't sufficiently filter user-supplied text leading to a Cross Site Scripting (XSS) vulnerability.\n\nThis vulnerability is mitigated by the fact that an attacker needs additional permissions. The vulnerability can be exploited by an attacker with a role with the permission \"administer display\" regardless of other configurations. In some scenarios, the vulnerability can be exploited by a user with \"Create content\" or \"Edit content\" for a relevant Content type.","modified":"2026-09-10T03:46:03.837384089Z","published":"2023-06-14T14:52:36Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2023-020"}],"affected":[{"package":{"name":"drupal/office_hours","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/office_hours?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.0"}],"database_specific":{"constraint":"\u003c1.11"}}],"database_specific":{"affected_versions":"\u003c1.11","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/office_hours/DRUPAL-CONTRIB-2023-020.json"}}],"schema_version":"1.9.0","credits":[{"name":"John Voskuilen","contact":["https://www.drupal.org/user/591042"]},{"name":"Mitch Portier","contact":["https://www.drupal.org/user/2284182"]}]}