CVE-2023-5118 Stored cross-site scripting vulnerability in Kofax Capture software

Medium 5.4 Published Updated

Attackers can inject malicious JavaScript via unsanitized annotation inputs in Kofax Capture, potentially executing code in victim browsers.

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-2023-5118?

CVE-2023-5118 is a medium-severity cross-site scripting vulnerability in Kofax Capture, published on 11 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The application is vulnerable to Stored Cross-Site Scripting (XSS) in the endpoint /sofer/DocumentService.asc/SaveAnnotation, where input data transmitted via the POST method in the parameters author and text are not adequately sanitized and validated. This allows for the injection of malicious JavaScript code. The vulnerability was identified in the function for adding new annotations while editing document content.

Reporters inform that the vulnerability has been removed in software versions above 11.1.x. Previous versions may also be vulnerable, but this has not been confirmed.

Weakness: CWE-79

Which versions are affected by CVE-2023-5118?

It affects 1 product.

Products include Tungstenautomation Kofax Capture.

How do I fix CVE-2023-5118?

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

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

Sources

Also known as GHSA-hqv4-427w-6698.

Is CVE-2023-5118 in your software?

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

Check your SBOMs for free