CVE-2025-0228 code-projects Local Storage Todo App index.html cross site scripting

Medium 5.1 Published Updated

Remote attackers can inject malicious scripts via the Add argument in the Local Storage Todo App, potentially executing code in victim browsers.

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-0228?

CVE-2025-0228 is a medium-severity cross-site scripting vulnerability in code-projects Local Storage Todo App, published on 5 Jan 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability has been found in code-projects Local Storage Todo App 1.0 and classified as problematic. This vulnerability affects unknown code of the file /js-todo-app/index.html. The manipulation of the argument Add leads to cross site scripting. The attack can be initiated 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-0228?

It affects 1 product.

Products include Code-Projects Local Storage Todo App.

How do I fix CVE-2025-0228?

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

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

Sources

Also known as GHSA-jh5q-pr4q-x6j4.

Is CVE-2025-0228 in your software?

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

Check your SBOMs for free