CVE-2018-13065 Cross-site scripting in n/a
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.
Other vulnerabilities in n/a
- CVE-2026-52747 Security feature bypass in ModSecurity
- CVE-2024-1019 WAF bypass of the ModSecurity v3 release line
- CVE-2026-42268 ModSecurity: Unsigned integer underflow in @verifySSN / @verifyCPF / @verifySVNR operators
- CVE-2026-30923 libModSecurity3 denial of service via segfault when using t:hexDecode on single-character query strings
- CVE-2025-48866 ModSecurity has possible DoS vulnerability in sanitiseArg action
Sources
Also known as GHSA-p6wp-wgv9-7657.