{"id":"CVE-2024-10491","state":"PUBLISHED","title":"Preload arbitrary resources by injecting additional `Link` headers","description":"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.\n\nThe issue arises from improper sanitization in `Link` header values, which can allow a combination of characters like `,`, `;`, and `<>` to preload malicious resources.\n\nThis vulnerability is especially relevant for dynamic parameters.","publishedAt":"2024-10-29T16:23:21.219Z","updatedAt":"2024-10-29T19:44:30.890Z","severity":{"score":4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","source":"HeroDevs"},"assigner":"HeroDevs","products":["express express"],"affected":[{"vendor":"express","product":"express","packageName":"express","defaultStatus":"unaffected","versions":[{"version":"3.0.0-alpha1","status":"affected","lessThanOrEqual":"3.21.2","versionType":"semver"}],"collectionURL":"https://www.npmjs.com/package/express","repo":"https://github.com/expressjs/express"}],"references":["https://www.herodevs.com/vulnerability-directory/cve-2024-10491"],"weaknesses":["CWE-74"],"ingestedAt":"2026-10-29T20:06:50.777Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/10xxx/CVE-2024-10491.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-10491","state":"PUBLISHED","datePublished":"2024-10-29T16:23:21.219Z","dateUpdated":"2024-10-29T19:44:30.890Z","assignerShortName":"HeroDevs","assignerOrgId":"36c7be3b-2937-45df-85ea-ca7133ea542c","dateReserved":"2024-10-29T11:53:00.416Z"},"containers":{"cna":{"title":"Preload arbitrary resources by injecting additional `Link` headers","descriptions":[{"lang":"en","value":"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.\n\nThe issue arises from improper sanitization in `Link` header values, which can allow a combination of characters like `,`, `;`, and `<>` to preload malicious resources.\n\nThis vulnerability is especially relevant for dynamic parameters."}],"affected":[{"vendor":"express","product":"express","packageName":"express","defaultStatus":"unaffected","versions":[{"version":"3.0.0-alpha1","status":"affected","lessThanOrEqual":"3.21.2","versionType":"semver"}],"collectionURL":"https://www.npmjs.com/package/express","repo":"https://github.com/expressjs/express"}],"references":[{"url":"https://www.herodevs.com/vulnerability-directory/cve-2024-10491"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-74","description":"CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"HeroDevs","orgId":"36c7be3b-2937-45df-85ea-ca7133ea542c","dateUpdated":"2024-10-29T16:26:16.251Z"},"credits":[{"lang":"en","type":"finder","value":"abze"}],"impacts":[{"capecId":"CAPEC-240","descriptions":[{"lang":"en","value":"CAPEC-240 Resource Injection"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"expressjs","product":"express","defaultStatus":"unknown","versions":[{"version":"3.0.0-alpha1","status":"affected","lessThanOrEqual":"3.21.2","versionType":"semver"}],"cpes":["cpe:2.3:a:expressjs:express:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-29T19:42:55.922371Z","id":"CVE-2024-10491","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-29T19:44:30.890Z"}}]}}}