{"id":"GHSA-hwmc-r6mf-jh83","aliases":["GHSA-hwmc-r6mf-jh83"],"related":[],"kind":"vulnerability","state":"published","title":"Schema.org has cross-site scripting (XSS) via script break-out in toScript() output","summary":"Schema.org has a cross-site scripting (XSS) vulnerability via script break-out in toScript() output.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Schema.org has a cross-site scripting (XSS) vulnerability via script break-out in toScript() output.","format":"markdown","source":"ghsa"}],"published":"2026-07-01T18:32:31.000Z","modified":"2026-09-10T03:50:12.332Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"3.23.1","status":"affected","fixed":"3.23.2"}],"ecosystem":"Packagist","package":"spatie/schema-org","purl":"pkg:composer/spatie/schema-org","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.2"}],"ecosystem":"Packagist","package":"spatie/schema-org","purl":"pkg:composer/spatie/schema-org","source":"ghsa"}],"references":[{"url":"https://github.com/spatie/schema-org/pull/242","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spatie/schema-org/commit/be389b4759214c11cc1364a16e34a929c5af5a88","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/spatie/schema-org/2026-04-20.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spatie/schema-org","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/spatie/schema-org/releases/tag/4.0.2","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hwmc-r6mf-jh83","url":"https://github.com/advisories/GHSA-hwmc-r6mf-jh83","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:12.332Z"}],"updatedAt":"2026-11-25T22:56:32.344Z"}