--- src/Checks/Field.php
+++ src/Checks/Field.php
+@@ -86,7 +86,7 @@ class Field extends Check {
+ /** @var TypedDataInterface $property */
+ $value = $property->getValue();
+ if (is_string($value)) {
+- $field_name = $property->getDataDefinition()->getLabel();
++ $field_name = $item->getFieldDefinition()->getLabel();
+ foreach ($tags as $vulnerability => $tag) {
+ if (strpos($value, '<' . $tag) !== FALSE) {
+ // Vulnerability found.
@@ -138,9 +138,9 @@ class Field extends Check {
->load($entity_id);