Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The spatie/schema-org Packagist package is affected in versions 3.23.1 up to but not including 3.23.2, and 4.0.0 up to but not including 4.0.2. The source describes a cross-site scripting flaw in the toScript() output caused by script break-out, but gives few other details about what an attacker must do. To fix it, upgrade to version 3.23.2 or 4.0.2.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| Not published | None | 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 | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS No score.
Timeline
- 31 Oct 2026, 14:03 UTC First seen by agentprime
- 31 Oct 2026, 14:03 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-hwmc-r6mf-jh83
- OSV: GHSA-hwmc-r6mf-jh83
- github.com/spatie/schema-org/pull/242
- github.com/spatie/schema-org/commit/be389b4759214c11cc1364a16e34a929c5af5a88
- github.com/FriendsOfPHP/security-advisories/blob/master/spatie/schema-org/2026-04-20.yaml
- github.com/spatie/schema-org
- github.com/spatie/schema-org/releases/tag/4.0.2