Advisory record · GHSA-hwmc-r6mf-jh83

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

CVSS 4.0, no score published

Published by the GitHub Advisory Database at 1 Jul 2026, 18:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
spatie/schema-orgPackagist>=3.23.1, <3.23.2 || >=4.0.0, <4.0.23.23.2, 4.0.2
Identifiers
GHSA-hwmc-r6mf-jh83 · PKSA-6mmh-w4kg-c2xp
Weakness (CWE)
CWE-79
Published
1 Jul 2026
Updated
10 Sept 2026

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.

Written 31 Oct 2026.

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

ScoreRatingCVSSVectorSource
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

  1. 31 Oct 2026, 14:03 UTC First seen by agentprime
  2. 31 Oct 2026, 14:03 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.