Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add max size / scaling restrictions

Open
#674 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, node.js
Domain
api, backend

Research direction

Start by locating the incoming request handling in the Node.js export server and reviewing the limits documented on the export server's demo/landing page. Define maximum height, width, and scale values with those documented defaults, then verify that oversized or unsafe requests are rejected without attempting to process them.

Written by the indexing model from the issue text.

Description

Hi,

It looks like there is no way to restrict the max height/width or scale of incoming requests, so users can send requests that can either exceed max int, or they can potentially send requests large enough to cause servers to go OOM attempting to handle them.

We should add support for maximums for each of those values with the default values being the ones documented on the export server's demo/landing page.

Dominant language
JavaScript
Stars
368
Forks
265
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No 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.

More from highcharts/node-export-server

All issues in highcharts/node-export-server

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.