CVE-2022-42466 XSS vulnerability, eg for String properties.

Medium 6.1 Published Updated

Attackers can inject JavaScript into editable string properties, leading to script execution in the Apache Isis web application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-42466?

CVE-2022-42466 is a medium-severity cross-site scripting vulnerability in Apache Isis, published on 19 Oct 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Prior to 2.0.0-M9, it was possible for an end-user to set the value of an editable string property of a domain object to a value that would be rendered unchanged when the value was saved. In particular, the end-user could enter javascript or similar and this would be executed. As of this release, the inputted strings are properly escaped when rendered.

Weakness: CWE-79

Which versions are affected by CVE-2022-42466?

2 open source packages ship an affected version, including org.apache.isis.core:isis-core. It affects 1 product.

PackageAffectedFixed in
org.apache.isis.core:isis-core MavenAll versions2.0.0-M9
org.apache.isis.core:isis-core MavenAll versions2.0.0-M9

Products include Apache Isis.

How do I fix CVE-2022-42466?

Upgrade org.apache.isis.core:isis-core to 2.0.0-M9 or later.

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-42466 being exploited?

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

Sources

Also known as GHSA-7pfc-cc9x-8p4m.

Is CVE-2022-42466 in your software?

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

Check your SBOMs for free