VDB
Sign up
LOW

GHSA-hwmc-r6mf-jh83

Schema.org has cross-site scripting (XSS) via script break-out in toScript() output

Quick fix

GHSA-hwmc-r6mf-jh83 — spatie/schema-org: upgrade to the fixed version with the command below.

composer require spatie/schema-org:^3.23.2

Details

Schema.org has a cross-site scripting (XSS) vulnerability via script break-out in toScript() output.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/spatie/schema-org
Introduced in: 3.23.1Fixed in: 3.23.2
Fixcomposer require spatie/schema-org:^3.23.2
Packagist/spatie/schema-org
Introduced in: 4.0.0Fixed in: 4.0.2
Fixcomposer require spatie/schema-org:^4.0.2

References