less / less/less.js

Security issues in "image-size" dependency

Open
#4,455 0 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
17k
Forks
3.4k
Avg merge
7h 42m
Merged PRs (30d)
26

Description

Hi Folks,

Less 4.6.6 has an optional dependency to the "image-size" package, which is archived on Github and has open security vulnerabilities (e.g. CVE-2025-71329). Would it be possible to replace the package by a more up-to-date alternative (e.g.: https://github.com/nodeca/probe-image-size)?

Thank you and best regards,
Christof

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the optional image-size dependency but no files or tests. Locate its declaration and usages in Less, then compare the proposed probe-image-size package's interface and behavior. Done means the vulnerable package is replaced without breaking the optional image-size functionality and relevant project checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.