CVE-2025-0398 longpi1 warehouse Backend updateInport cross site scripting

Medium 5.1 Published Updated

Remote attackers can inject malicious scripts via the remark argument in the warehouse backend, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-0398?

CVE-2025-0398 is a medium-severity cross-site scripting vulnerability in longpi1 warehouse, published on 12 Jan 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability has been found in longpi1 warehouse 1.0 and classified as problematic. Affected by this vulnerability is an unknown functionality of the file /resources/..;/inport/updateInport of the component Backend. The manipulation of the argument remark leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2025-0398?

How do I fix CVE-2025-0398?

No fix has been published for CVE-2025-0398 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-2025-0398 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-0398 exists.

Sources

Also known as GHSA-5r5p-qx5c-3x9j.

Is CVE-2025-0398 in your software?

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

Check your SBOMs for free