CVE-2018-13065 Cross-site scripting in n/a

Medium 6.1 Published Updated

ModSecurity allows XSS via IMG onerror attributes, primarily affecting environments without a Core Rule Set configured.

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
None listed

What is CVE-2018-13065?

CVE-2018-13065 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Jul 2018. 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

ModSecurity 3.0.0 has XSS via an onerror attribute of an IMG element. NOTE: a third party has disputed this issue because it may only apply to environments without a Core Rule Set configured

Weakness: CWE-79

Which versions are affected by CVE-2018-13065?

It affects 1 product.

Products include Owasp Modsecurity.

How do I fix CVE-2018-13065?

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

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

Sources

Also known as GHSA-p6wp-wgv9-7657.

Is CVE-2018-13065 in your software?

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

Check your SBOMs for free