Skip to content

[S360] Fix GHSA-5c6j-r48x-rmvq: Update serialize-javascript to 7.0.3#2538

Open
lucygramley wants to merge 1 commit intomainfrom
s360/GHSA-5c6j-serialize-javascript
Open

[S360] Fix GHSA-5c6j-r48x-rmvq: Update serialize-javascript to 7.0.3#2538
lucygramley wants to merge 1 commit intomainfrom
s360/GHSA-5c6j-serialize-javascript

Conversation

@lucygramley
Copy link
Copy Markdown
Contributor

S360 Security Fix

Advisory: GHSA-5c6j-r48x-rmvq
Severity: High
S360 Due Date: 2026-05-31
S360 Items: 3

What changed

  • Added serialize-javascript: 7.0.3 override in NodeAppWithTestsConfiguredPerFile/package.json
  • Added serialize-javascript: 7.0.3 override in NodeAppWithTestsConfiguredOnProject/package.json
  • Fixed corrupted glob@10.5.0 integrity hash in lock file
  • Updated lock files

Why

serialize-javascript <= 7.0.2 has a code injection vulnerability via unsanitized RegExp flags and Date.toISOString(). An attacker who controls the input to serialize() can inject arbitrary JavaScript that executes when the serialized output is evaluated.

Testing

  • npm install completes successfully in both projects
  • serialize-javascript updated to 7.0.3

References

Resolves S360 security compliance item. Adds serialize-javascript 7.0.3
override in NodeAppWithTestsConfiguredPerFile and
NodeAppWithTestsConfiguredOnProject to address code injection
vulnerability (GHSA-5c6j-r48x-rmvq) in serialize-javascript <= 7.0.2.

Also fixes corrupted glob@10.5.0 integrity hash in
NodeAppWithTestsConfiguredPerFile lock file.

S360 KPI: [SFI-ES5.2] 1ES Open Source Vulnerabilities
Due date: 2026-05-31

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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