DRUPAL-CONTRIB-2023-020
JSON

Not scored

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…

Severity
Not scored
Published
Last changed

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.

The module doesn't sufficiently filter user-supplied text leading to a Cross Site Scripting (XSS) vulnerability.

This 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.

Affected

Product or packageVersionsReported by
drupal/office_hours (Packagist:https://packages.drupal.org/8)before 1.11.0Drupal Security Team

References

Sources

SourceRecordLicence
Drupal Security TeamDRUPAL-CONTRIB-2023-020 changed 2026-09-10MIT