Repository navigation
build(deps): bump next from 15.5.28 to 15.5.29 - #601
dependabot[bot] wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Hey - I've found 2 security issues
Security issues:
- PostCSS: Information disclosure and denial of service via crafted CSS input (link)
- PostCSS: Information disclosure via path traversal in source map auto-loading (link)
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="package-lock.json" line_range="1229-1255" />
<code_context>
</code_context>
<issue_to_address>
**security (CVE-2026-45623):** PostCSS: Information disclosure and denial of service via crafted CSS input
PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. In versions 8.5.11 and prior, the PreviousMap parses the /*# sourceMappingURL=PATH */ comment from any CSS string passed to process() and dereferences PATH against the local filesystem with no scheme, allowlist, or traversal check. An attacker who controls the CSS input can cause the host process to read any file readable by Node and leak the first ~10 bytes of its content through the resulting JSON.parse SyntaxError message. The bug also yields a precise file-existence oracle and a controllable-read primitive that may be combined with large-file targets for DoS. The behaviour is triggered with PostCSS's default options — no from, no map, no plugins required — and is therefore reachable from any pipeline that runs untrusted CSS through PostCSS (CMS themes, user-uploaded styles, browser-extension/userstyle processors, build pipelines for third-party packages, blog comment renderers, etc.). This issue has been fixed in version 8.5.12.
*Source: trivy*
</issue_to_address>
### Comment 2
<location path="package-lock.json" line_range="1229-1255" />
<code_context>
</code_context>
<issue_to_address>
**security (CVE-2026-73646):** PostCSS: Information disclosure via path traversal in source map auto-loading
PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. Prior to 8.5.18, lib/previous-map.js loadMap() passes attacker-controlled sourceMappingURL values to join(dirname(opts.from), annotation), and loadFile() permits traversed or absolute .map paths, allowing untrusted CSS processed without map: false to disclose sourcesContent from arbitrary reachable .map files through result.map. This issue is fixed in version 8.5.18.
*Source: trivy*
</issue_to_address>| "apps/documentation/node_modules/next/node_modules/postcss": { | ||
| "version": "8.4.31", | ||
| "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", | ||
| "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", | ||
| "funding": [ | ||
| { | ||
| "type": "opencollective", | ||
| "url": "https://opencollective.com/postcss/" | ||
| }, | ||
| { | ||
| "type": "tidelift", | ||
| "url": "https://tidelift.com/funding/github/npm/postcss" | ||
| }, | ||
| { | ||
| "type": "github", | ||
| "url": "https://github.com/sponsors/ai" | ||
| } | ||
| ], | ||
| "dependencies": { | ||
| "nanoid": "^3.3.6", | ||
| "picocolors": "^1.0.0", | ||
| "source-map-js": "^1.0.2" | ||
| }, | ||
| "engines": { | ||
| "node": "^10 || ^12 || >=14" | ||
| } | ||
| }, |
There was a problem hiding this comment.
security (CVE-2026-45623): PostCSS: Information disclosure and denial of service via crafted CSS input
PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. In versions 8.5.11 and prior, the PreviousMap parses the /*# sourceMappingURL=PATH */ comment from any CSS string passed to process() and dereferences PATH against the local filesystem with no scheme, allowlist, or traversal check. An attacker who controls the CSS input can cause the host process to read any file readable by Node and leak the first ~10 bytes of its content through the resulting JSON.parse SyntaxError message. The bug also yields a precise file-existence oracle and a controllable-read primitive that may be combined with large-file targets for DoS. The behaviour is triggered with PostCSS's default options — no from, no map, no plugins required — and is therefore reachable from any pipeline that runs untrusted CSS through PostCSS (CMS themes, user-uploaded styles, browser-extension/userstyle processors, build pipelines for third-party packages, blog comment renderers, etc.). This issue has been fixed in version 8.5.12.
Source: trivy
| "apps/documentation/node_modules/next/node_modules/postcss": { | ||
| "version": "8.4.31", | ||
| "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", | ||
| "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", | ||
| "funding": [ | ||
| { | ||
| "type": "opencollective", | ||
| "url": "https://opencollective.com/postcss/" | ||
| }, | ||
| { | ||
| "type": "tidelift", | ||
| "url": "https://tidelift.com/funding/github/npm/postcss" | ||
| }, | ||
| { | ||
| "type": "github", | ||
| "url": "https://github.com/sponsors/ai" | ||
| } | ||
| ], | ||
| "dependencies": { | ||
| "nanoid": "^3.3.6", | ||
| "picocolors": "^1.0.0", | ||
| "source-map-js": "^1.0.2" | ||
| }, | ||
| "engines": { | ||
| "node": "^10 || ^12 || >=14" | ||
| } | ||
| }, |
There was a problem hiding this comment.
security (CVE-2026-73646): PostCSS: Information disclosure via path traversal in source map auto-loading
PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. Prior to 8.5.18, lib/previous-map.js loadMap() passes attacker-controlled sourceMappingURL values to join(dirname(opts.from), annotation), and loadFile() permits traversed or absolute .map paths, allowing untrusted CSS processed without map: false to disclose sourcesContent from arbitrary reachable .map files through result.map. This issue is fixed in version 8.5.18.
Source: trivy
Bumps [next](https://github.com/vercel/next.js) from 15.5.28 to 15.5.29. - [Release notes](https://github.com/vercel/next.js/releases) - [Commits](vercel/next.js@v15.5.28...v15.5.29) --- updated-dependencies: - dependency-name: next dependency-version: 15.5.29 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
1344032 to
28eb185
Compare
Bumps next from 15.5.28 to 15.5.29.
Release notes
Sourced from next's releases.
Commits
17014e9v15.5.299fc04bd[lts-maintenance] Strip internal middleware cookie headers from edge response...848ec29[lts-maintenance] Fix stale compressed framing for forwarded fetch responses ...4f13335[lts-maintenance] [next/image] Fix false-positive AVIF/HEIC detection (#272)df196a8[lts-maintenance] [ci] Pin deploy test deployments to Node.js 22.x (#100887)2829b57[lts-maintenance][cd] Move release un-draft to a follow-up job in bot-autonom...2810b5b[lts-maintenance][cd] Gate release bot credentials behind GitHub environments...