GHSA-hwmc-r6mf-jh83
LOWSchema.org has cross-site scripting (XSS) via script break-out in toScript() output
Schema.org has a cross-site scripting (XSS) vulnerability via script break-out in toScript() output.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | spatie/schema-org | >= 3.23.1, < 3.23.2 | 3.23.2 |
| OSV | Packagist | spatie/schema-org | >= 4.0.0, < 4.0.2 | 4.0.2 |
References
- https://github.com/spatie/schema-org/pull/242 · WEB
- https://github.com/spatie/schema-org/commit/be389b4759214c11cc1364a16e34a929c5af5a88 · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/spatie/schema-org/2026-04-20.yaml · WEB
- https://github.com/spatie/schema-org · PACKAGE
- https://github.com/spatie/schema-org/releases/tag/4.0.2 · WEB
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Jul 2026)