CVE-2024-9283 RelaxedJS ReLaXed Pug to PDF Converter cross site scripting

Medium 4.8 Published Updated

A local cross-site scripting vulnerability in the ReLaXed Pug to PDF converter allows attackers to execute arbitrary scripts.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-9283?

CVE-2024-9283 is a medium-severity cross-site scripting vulnerability in RelaxedJS ReLaXed, published on 27 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability classified as problematic has been found in RelaxedJS ReLaXed up to 0.2.2. Affected is an unknown function of the component Pug to PDF Converter. The manipulation leads to cross site scripting. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.

Weakness: CWE-79

Which versions are affected by CVE-2024-9283?

2 open source packages ship an affected version, including relaxedjs.

PackageAffectedFixed in
relaxedjs npmAll versions to 0.2.5None
relaxedjs npmAll versions to 0.2.5None

How do I fix CVE-2024-9283?

No fix has been published for CVE-2024-9283 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-9283 being exploited?

There is no known exploitation of CVE-2024-9283 in the wild and no public exploit code.

Sources

Also known as GHSA-gj3p-j74v-3x57.

Is CVE-2024-9283 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free