CVE-2021-21260 XSS in description field

High 7.6 Published Updated

Stored XSS in the item description field allows attackers to steal CSRF tokens and take over admin accounts in the Online Invoicing System.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-21260?

CVE-2021-21260 is a high-severity cross-site scripting vulnerability in bigprof-software online-invoicing-system, published on 22 Jan 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Online Invoicing System (OIS) is open source software which is a lean invoicing system for small businesses, consultants and freelancers created using AppGini. In OIS version 4.0 there is a stored XSS which can enables an attacker takeover of the admin account through a payload that extracts a csrf token and sends a request to change password. It has been found that Item description is reflected without sanitization in app/items_view.php which enables the malicious scenario.

Weakness: CWE-79

Which versions are affected by CVE-2021-21260?

It affects 1 product.

Products include Bigprof Online Invoicing System.

How do I fix CVE-2021-21260?

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

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

Sources

Also known as GHSA-rm79-5596-r7q4.

Is CVE-2021-21260 in your software?

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

Check your SBOMs for free