CVE-2022-48311 Cross-site scripting in n/a

Critical 9.0 Published Updated

An authenticated attacker can inject scripts into the HTTP configuration page of unsupported HP Deskjet printers, potentially executing code or bypassing security controls.

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-2022-48311?

CVE-2022-48311 is a critical cross-site scripting vulnerability in n/a, published on 6 Feb 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

**UNSUPPORTED WHEN ASSIGNED** Cross Site Scripting (XSS) in HP Deskjet 2540 series printer Firmware Version CEP1FN1418BR and Product Model Number A9U23B allows authenticated attacker to inject their own script into the page via HTTP configuration page. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

Weakness: CWE-79

Which versions are affected by CVE-2022-48311?

It affects 1 product.

Products include Hp Deskjet 2540 A9u23b Firmware.

How do I fix CVE-2022-48311?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-h4gx-6mxf-9g7m.

Is CVE-2022-48311 in your software?

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

Check your SBOMs for free