Advisory

GHSA-cm5g-3pgc-8rg4

Also known as: CVE-2024-10491

Summary

Express ressource injection

Details

A vulnerability has been identified in the Express response.links function, allowing for arbitrary resource injection in the Link header when unsanitized data is used.

The issue arises from improper sanitization in Link header values, which can allow a combination of characters like ,, ;, and <> to preload malicious resources.

This vulnerability is especially relevant for dynamic parameters.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-10-29 18:30 UTC
Modified
2024-12-19 17:52 UTC

Affected packages and fixes

express

npm · All systems

Affected

  • introduced 0, fixed 4.0.0-rc1 (semver)

Fixed versions

4.0.0-rc1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences