{"id":"DRUPAL-CONTRIB-2023-020","aliases":["DRUPAL-CONTRIB-2023-020"],"related":[],"kind":"vulnerability","state":"published","title":"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 o…","summary":"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.","summaryFormat":"markdown","summarySource":"drupal","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"drupal"}],"published":"2023-06-14T14:52:36.000Z","modified":"2026-09-10T03:46:03.837Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.11.0"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/office_hours","purl":"pkg:composer/drupal/office_hours?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2023-020","tags":["web"],"sources":["drupal"]}],"credits":["John Voskuilen","Mitch Portier"],"sources":[{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2023-020","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2023-020","licence":"MIT","modified":"2026-09-10T03:46:03.837Z"}],"updatedAt":"2026-11-25T22:56:30.146Z"}