Skip to content

[v4] escape JSON object member names on output - #2348

Merged
lestrrat merged 3 commits into
develop/v4from
fix-v4-json-member-name-escaping
Sep 8, 2026
Merged

lestrrat merged 3 commits into
develop/v4from
fix-v4-json-member-name-escaping

Conversation

@lestrrat

@lestrrat lestrrat commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator
  • Fix GHSA-4cf7-xm37-g63h: a custom member name containing a double quote could add JSON members the caller never set.
  • Escape names in the generator templates; names that need no escaping keep the allocation-free path.
  • Ships through the normal release process; the advisory is published once v4.4.1 and v3.2.1 are tagged.

@lestrrat
lestrrat force-pushed the fix-v4-json-member-name-escaping branch from d87e55b to e90e24f Compare September 8, 2026 03:26
@lestrrat
lestrrat merged commit 2c2b57e into develop/v4 Sep 8, 2026
7 checks passed
@lestrrat
lestrrat deleted the fix-v4-json-member-name-escaping branch September 8, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant