Defuddle contains a flaw in the ` findContentBySchemaText` method within `src/defuddle.ts`. This method directly interpolates image `src` and `alt` attributes into an HTML string without proper escaping. An attacker can leverage a double quote character (") within the `alt` attribute to break out of the attribute context and inject event handlers, leading to potential cross-site scripting (XSS). The issue arises during string construction, not within the DOM, bypassing the ` stripUnsafeElements` function. The vulnerability is triggered when processing HTML with schema.org structured data and a sibling image with a crafted `alt` attribute. The affected code uses string interpolation: `html += `<img src="${imageSrc}" alt="${imageAlt}">`;`. The `getAttribute()` function returns raw attribute values, and the presence of a quote character in the `alt` attribute allows for the injection of event handlers like `onload`. This can impact applications rendering Defuddle’s HTML output, such as browser extensions, web clippers, and reader modes.