{"answers":{"affected":"2 open source packages ship an affected version, including @nestjs/core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-35515 in the wild and no public exploit code.","fix":"Upgrade @nestjs/core to 11.1.18 or later.","what":"CVE-2026-35515 is a medium-severity vulnerability in nestjs nest, published on 7 Apr 2026."},"fix_prompt":"Check this codebase for CVE-2026-35515 and fix it if it is affected.\n\nWhat it is: CVE-2026-35515 is a medium-severity vulnerability in nestjs nest, published on 7 Apr 2026. \nExploitation: There is no known exploitation of CVE-2026-35515 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @nestjs/core (npm): affected all versions; fixed in 11.1.18\n- @nestjs/core (npm): affected all versions; fixed in 11.1.18\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-35515/ (Markdown: https://insights.sbomify.com/CVE-2026-35515/index.md)","id":"CVE-2026-35515","markdown":"https://insights.sbomify.com/CVE-2026-35515/index.md","name":"CVE-2026-35515","record":{"aliases":["GHSA-36xv-jgw5-4q75","ROOT-APP-NPM-CVE-2026-35515"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"nest","vendor":"nestjs"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"Nest is a framework for building scalable Node.js server-side applications. Prior to 11.1.18, SseStream._transform() interpolates message.type and message.id directly into Server-Sent Events text protocol output without sanitizing newline characters (\\r, \\n). Since the SSE protocol treats both \\r and \\n as field delimiters and \\n\\n as event boundaries, an attacker who can influence these fields through upstream data sources can inject arbitrary SSE events, spoof event types, and corrupt reconnection state. This vulnerability is fixed in 11.1.18.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"@nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection')","id":"CVE-2026-35515","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"LinkAce has SSRF via CheckLinksCommand - Link URL Update Bypasses laravel-html-meta Protection","id":"CVE-2026-35516"},"packages":[{"ecosystem":"npm","fixed":["11.1.18"],"introduced":["0"],"last_affected":[],"package":"@nestjs/core","purl":null,"source":"GHSA-36xv-jgw5-4q75"},{"ecosystem":"npm","fixed":["11.1.18"],"introduced":["0"],"last_affected":[],"package":"@nestjs/core","purl":"pkg:npm/%40nestjs/core","source":"GHSA-36xv-jgw5-4q75"}],"prev":{"headline":"Unauthenticated Account Registration via /user/invited Bypasses All Signup Restrictions in Chartbrew","id":"CVE-2026-35514"},"products":["nest"],"published":"2026-04-07","related":[{"cvss_score":8.7,"headline":"Nest Fastify HEAD Request Middleware Bypass","id":"CVE-2026-33011","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":8.2,"headline":"NestJS 11.1.13 - Lack of data validation allowing authentication/authorization bypass","id":"CVE-2026-2293","kev_date_added":null,"published":"2026-02-27"},{"cvss_score":7.5,"headline":"Nest: DoS via Recursive handleData in JsonSocket (TCP Transport)","id":"CVE-2026-40879","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.9,"headline":"Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)","id":"CVE-2025-69211","kev_date_added":null,"published":"2025-12-29"},{"cvss_score":5.5,"headline":"nest allows a remote attacker to execute arbitrary code via the Content-Type header","id":"CVE-2024-29409","kev_date_added":null,"published":"2025-03-14"},{"cvss_score":3.7,"headline":"@nestjs/core vulnerable to Information Exposure via StreamableFile pipe","id":"CVE-2023-26108","kev_date_added":null,"published":"2023-03-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-07","vendors":["nestjs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-35515/"}