{"items":[{"id":"NVI-00013012","kind":"vulnerability","title":"Serialize JavaScript: Cross-site scripting (XSS) via unescaped  in serialized function bodies","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-gfhx-hw2g-v5hg","CVE-2026-97711"],"plain_summary":"GitHub lists this reviewed advisory for serialize-javascript. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-3961f8eb890c138fca17ca35e22ee5b3"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-3961f8eb890c138fca17ca35e22ee5b3","url":"https://github.com/advisories/GHSA-gfhx-hw2g-v5hg","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-gfhx-hw2g-v5hg","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T07:22:52.960Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-3961f8eb890c138fca17ca35e22ee5b3"],"technology":"serialize-javascript","known_exclusions":[],"conditions_summary":"### Impact\n\n`serialize-javascript` escapes its output so it is safe to embed inside a\n`` element. In 7.1.1 that guarantee does not hold for **function\nvalues**: a crafted function body can carry a literal, unescaped ``\ninto the output, terminating the script element early so the remainder is\nparsed as HTML.\n\n`SCRIPT_CLOSE_REGEXP` used `]*>` as its first alternative. The\ncharacter class excludes only `>`, so a single match could run from one\n`` anywhere in the source — swallowing a\nsecond, complete `` along the way. Only one replacement is emitted\nper match, and the plain-code branch neutralizes just the leading `' }\";\nconst out = serialize({ h: new Function('return ' + src)() });\n// {\"h\":function f(x){ return x< /script=+/ + '<","public_affected_ranges":[">= 7.1.1, < 7.1.2"]}],"null_published_at":"2026-11-01T07:29:12.908Z","source_updated_at":"2026-09-30T15:40:06.000Z","source_disclosed_at":"2026-09-30T15:40:05.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-01T07:22:52.960Z"}],"next_cursor":null,"snapshot_revision":"42594"}