{"id":"DRUPAL-CONTRIB-2023-020","aliases":[],"status":"published","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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2023-06-14T14:52:36Z","modified":"2026-09-10T03:46:03Z","fixes":[{"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/office_hours","fixed_in":["1.11.0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/office_hours","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.0"}]}]}],"references":[{"url":"https://www.drupal.org/sa-contrib-2023-020","tags":["web"]}],"sources":{"osv":[{"id":"DRUPAL-CONTRIB-2023-020","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.","status":"published","published":"2023-06-14T14:52:36Z","modified":"2026-09-10T03:46:03.837384089Z","updated_at":"2026-11-02T15:46:13.584509Z"}]}}
