{"id":"DRUPAL-CONTRIB-2023-020","aliases":[],"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 opening hours for…","titleSource":"OSV","descriptionSource":"OSV","description":"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.","severity":"unknown","score":null,"published":"2023-06-14T14:52:36.000Z","modified":"2026-09-10T03:46:03.837Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist:https://packages.drupal.org/8","name":"drupal/office_hours","sources":[{"name":"OSV · DRUPAL-CONTRIB-2023-020","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2023-020"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.11.0"}],"type":"ECOSYSTEM","database_specific":{"constraint":"<1.11"}}],"versions":[],"fixed":["1.11.0"]}],"sourceAffected":[],"references":["https://www.drupal.org/sa-contrib-2023-020"],"sources":[{"name":"OSV","id":"DRUPAL-CONTRIB-2023-020","modified":"2026-09-10T03:46:03.837384089Z","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2023-020"}],"assessments":[],"products":[],"remediation":[],"kev":{"status":"unavailable","checkedAt":"2026-10-28T17:00:33.660Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}