CWE-116: Improper Encoding or Escaping of Output, published in 2022
Filter
The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
What the weakness is: CWE-116 at MITRE. OWASP Top 10: A05:2025 Injection. All weaknesses
Related attack patterns (CAPEC): 4
- CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
- CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
- CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
- CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-116, as MITRE names them. Credits.
Ask an AI about CWE-116
Show the prompt
Explain CWE-116: Improper Encoding or Escaping of Output and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/116.html and https://cve.bz/cve/cwe/116?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 7.5CVE-2020-36567gin-gonic ginEPSS 1.5%
Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines.
- 8.8CVE-2022-28284mozilla firefoxEPSS 0.6%
SVG's <code><use></code> element could have been used to load unexpected content that could have executed script in certain circumstances. While the specification seems to allow this, other browsers do not, and web developers relied …
- 8.8CVE-2022-22744mozillaEPSS 1.4%
The constructed curl command from the "Copy as curl" feature in DevTools was not properly escaped for PowerShell. This could have lead to command injection if pasted into a Powershell prompt.<br>*This bug only affects Thunderbird for Windo…
- 5.4CVE-2022-43543EPSS 0.5%
KDDI +Message App, NTT DOCOMO +Message App, and SoftBank +Message App contain a vulnerability caused by improper handling of Unicode control characters. +Message App displays text unprocessed, even when control characters are contained, an…
- 7.5CVE-2022-43883ibm cognos analyticsEPSS 0.6%
IBM Cognos Analytics 11.1.7, 11.2.0, and 11.2.1 could be vulnerable to a Log Injection attack by constructing URLs from user-controlled data. This could enable attackers to make arbitrary requests to the internal network or to the local fi…
- 5.4CVE-2021-38997ibm api connectEPSS 0.4%
IBM API Connect V10.0.0.0 through V10.0.5.0, V10.0.1.0 through V10.0.1.7, and V2018.4.1.0 through 2018.4.1.19 is vulnerable to HTTP header injection, caused by improper validation of input by the HOST headers. This could allow an attacker…
- 8.8CVE-2022-41934xwikiEPSS 1.6%
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with view rights on commonly accessible documents including the menu macro can execute arbitrary Groovy, Python or Velocity c…
- 8.1CVE-2022-40870parallels remote application serverEPSS 2.4%
The Web Client of Parallels Remote Application Server v18.0 is vulnerable to Host Header Injection attacks. This vulnerability allows attackers to execute arbitrary commands via a crafted payload injected into the Host header.
- 6.1CVE-2022-0421fivestarplugins five star restaurant reservationsEPSS 0.7%
The Five Star Restaurant Reservations WordPress plugin before 2.4.12 does not have authorisation when changing whether a payment was successful or failed, allowing unauthenticated users to change the payment status of arbitrary bookings. F…
- 9.8CVE-2022-4011simple history project simple historyEPSS 1.3%
A vulnerability was found in Simple History Plugin. It has been rated as critical. This issue affects some unknown processing of the component Header Handler. The manipulation of the argument X-Forwarded-For leads to improper output neutra…
- 5.3CVE-2022-34316ibm cics txEPSS 0.9%
IBM CICS TX 11.1 does not neutralize or incorrectly neutralizes web scripting syntax in HTTP headers that can be used by web browser components that can process raw headers. IBM X-Force ID: 229452.
- 5.3CVE-2022-3941activity log project activity logEPSS 0.9%
A vulnerability has been found in Activity Log Plugin and classified as critical. This vulnerability affects unknown code of the component HTTP Header Handler. The manipulation of the argument X-Forwarded-For leads to improper output neutr…
- 9.8CVE-2021-42010apache heronEPSS 1.8%
Heron versions <= 0.20.4-incubating allows CRLF log injection because of the lack of escaping in the log statements. Please update to version 0.20.5-incubating which addresses this issue.
- 9.8CVE-2022-41443phpipamEPSS 1.4%
phpipam v1.5.0 was discovered to contain a header injection vulnerability via the component /admin/subnets/ripe-query.php.
- 4.9CVE-2021-40694moodleEPSS 0.9%
Insufficient escaping of the LaTeX preamble made it possible for site administrators to read files available to the HTTP server system account.
- 7.8CVE-2022-41322EPSS 0.5%
In Kitty before 0.26.2, insufficient validation in the desktop notification escape sequence can lead to arbitrary code execution. The user must display attacker-controlled content in the terminal, then click on a notification popup.
- 7.5CVE-2022-39958EPSS 1.3%
The OWASP ModSecurity Core Rule Set (CRS) is affected by a response body bypass to sequentially exfiltrate small and undetectable sections of data by repeatedly submitting an HTTP Range header field with a small byte range. A restricted re…
- 7.5CVE-2022-39957EPSS 1.1%
The OWASP ModSecurity Core Rule Set (CRS) is affected by a response body bypass. A client can issue an HTTP Accept header field containing an optional "charset" parameter in order to receive the response in an encoded form. Depending on th…
- 9.8CVE-2022-39956EPSS 1.3%
The OWASP ModSecurity Core Rule Set (CRS) is affected by a partial rule set bypass for HTTP multipart requests by submitting a payload that uses a character encoding scheme via the Content-Type or the deprecated Content-Transfer-Encoding m…
- 8.8CVE-2022-36100xwikiEPSS 74%
XWiki Platform Applications Tag and XWiki Platform Tag UI are tag applications for XWiki, a generic wiki platform. Starting with version 1.7 in XWiki Platform Applications Tag and prior to 13.10.6 and 14.4 in XWiki Platform Tag UI, the tag…
- 8.8CVE-2022-36099xwikiEPSS 76%
XWiki Platform Wiki UI Main Wiki is software for managing subwikis on XWiki Platform, a generic wiki platform. Starting with version 5.3-milestone-2 and prior to versions 13.10.6 and 14.4, it's possible to inject arbitrary wiki syntax incl…
- 7.8CVE-2021-4041redhat ansible runnerEPSS 0.3%
A flaw was found in ansible-runner. An improper escaping of the shell command, while calling the ansible_runner.interface.run_command, can lead to parameters getting executed as host's shell command. A developer could unintentionally write…
- 9.8CVE-2020-36599omniauthEPSS 1.2%
lib/omniauth/failure_endpoint.rb in OmniAuth before 1.9.2 (and before 2.0) does not escape the message_key value.
- 9.8CVE-2022-35153fusionpbxEPSS 1.9%
FusionPBX 5.0.1 was discovered to contain a command injection vulnerability via /fax/fax_send.php.
- 4.3CVE-2022-2619EPSS 0.4%
Insufficient validation of untrusted input in Settings in Google Chrome prior to 104.0.5112.79 allowed an attacker who convinced a user to install a malicious extension to inject scripts or HTML into a privileged page via a crafted HTML pa…
- 6.1CVE-2022-2241fifu featured image from urlEPSS 0.6%
The Featured Image from URL (FIFU) WordPress plugin before 4.0.1 does not have CSRF check in place when updating its settings, which could allow attackers to make a logged in admin change them via a CSRF attack. Furthermore, due to the lac…
- 9.8CVE-2022-36446webminExploitEPSS 96%
software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command.
- 4.8CVE-2022-2099woocommerceEPSS 0.7%
The WooCommerce WordPress plugin before 6.6.0 is vulnerable to stored HTML injection due to lack of escaping and sanitizing in the payment gateway titles
- 5.5CVE-2022-20230google androidEPSS 0.09%
In choosePrivateKeyAlias of KeyChain.java, there is a possible access to the user's certificate due to improper input validation. This could lead to local information disclosure with no additional execution privileges needed. User interact…
- 8.4CVE-2022-34820siemensEPSS 2.3%
A vulnerability has been identified in SIMATIC CP 1242-7 V2 (All versions < V3.3.46), SIMATIC CP 1243-1 (All versions < V3.3.46), SIMATIC CP 1243-7 LTE EU (All versions < V3.3.46), SIMATIC CP 1243-7 LTE US (All versions < V3.3.46), SIMATIC…
- 5.3CVE-2022-32549apacheEPSS 2.5%
Apache Sling Commons Log <= 5.4.0 and Apache Sling API <= 2.25.0 are vulnerable to log injection. The ability to forge logs may allow an attacker to cover tracks by injecting fake logs and potentially corrupt log files.
- –CVE-2022-23079getmotoradmin motor adminEPSS 1.4%
In motor-admin versions 0.0.1 through 0.2.56 are vulnerable to host header injection in the password reset functionality where malicious actor can send fake password reset email to arbitrary victim.
- 6.1CVE-2022-29258xwikiEPSS 1.0%
XWiki Platform Filter UI provides a generic user interface to convert from a XWiki Filter input stream to an output stream with settings for each stream. Starting with versions 6.0-milestone-2 and 5.4.4 and prior to versions 12.10.11, 14.0…
- 6.1CVE-2022-29252xwikiEPSS 1.0%
XWiki Platform Wiki UI Main Wiki is a package for managing subwikis. Starting with version 5.3-milestone-2, XWiki Platform Wiki UI Main Wiki contains a possible cross-site scripting vector in the `WikiManager.JoinWiki ` wiki page related t…
- 6.1CVE-2022-29251xwikiEPSS 1.3%
XWiki Platform Flamingo Theme UI is a tool that allows customization and preview of any Flamingo-based skin. Starting with versions 6.2.4 and 6.3-rc-1, a possible cross-site scripting vector is present in the `FlamingoThemesCode.WebHomeShe…
- 9.8CVE-2022-29599EPSS 4.4%
In Apache Maven maven-shared-utils prior to version 3.3.3, the Commandline class can emit double-quoted strings without proper escaping, allowing shell injection attacks.
- 8.8CVE-2022-28960spipEPSS 2.1%
A PHP injection vulnerability in Spip before v3.2.8 allows attackers to execute arbitrary PHP code via the _oups parameter at /ecrire.
- 5.4CVE-2022-30966jenkins random string parameterEPSS 0.8%
Jenkins Random String Parameter Plugin 1.0 and earlier does not escape the name and description of Random String parameters on views displaying parameters, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attac…
- 4.3CVE-2021-23266craftercms crafter cmsEPSS 0.6%
An anonymous user can craft a URL with text that ends up in the log viewer as is. The text can then include textual messages to mislead the administrator.
- 7.5CVE-2022-30781giteaExploitEPSS 88%
Gitea before 1.16.7 does not escape git fetch remote.
- 5.0CVE-2021-39027ibm guardium data encryptionEPSS 0.3%
IBM Guardium Data Encryption (GDE) 4.0.0 and 5.0.0 prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of t…
- 7.2CVE-2021-29854ibmEPSS 1.1%
IBM Maximo Asset Management 7.6.1.1 and 7.6.1.2 is vulnerable to HTTP header injection, caused by improper validation of input by the HOST headers. By sending a specially crafted HTTP request, a remote attacker could exploit this vulnerabi…
- 8.8CVE-2022-0935livehelperchat live helper chatEPSS 1.3%
Host Header injection in password Reset in GitHub repository livehelperchat/livehelperchat prior to 3.97.
- 7.5CVE-2022-0741gitlabEPSS 1.5%
Improper input validation in all versions of GitLab CE/EE using sendmail to send emails allowed an attacker to steal environment variables via specially crafted email addresses.
- 5.4CVE-2022-0450freshlightlab menu image\, icons made easyEPSS 0.6%
The Menu Image, Icons made easy WordPress plugin before 3.0.6 does not have authorisation and CSRF checks when saving menu settings, and does not validate, sanitise and escape them. As a result, any authenticate users, such as subscriber c…
- 9.8CVE-2022-26174beekeeperstudio beekeeper-studioEPSS 2.4%
A remote code execution (RCE) vulnerability in Beekeeper Studio v3.2.0 allows attackers to execute arbitrary code via a crafted payload injected into the display fields.
- 7.5CVE-2021-45848EPSS 1.6%
Denial of service (DoS) vulnerability in Nicotine+ 3.0.3 and later allows a user with a modified Soulseek client to crash Nicotine+ by sending a file download request with a file path containing a null character.
- 6.1CVE-2022-22734sedlex simple quotationEPSS 0.8%
The Simple Quotation WordPress plugin through 1.3.2 does not have CSRF check when creating or editing a quote and does not sanitise and escape Quotes. As a result, attacker could make a logged in admin create or edit arbitrary quote, and p…
- 8.1CVE-2022-22151yokogawaEPSS 0.8%
CAMS for HIS Log Server contained in the following Yokogawa Electric products fails to properly neutralize log outputs: CENTUM CS 3000 versions from R3.08.10 to R3.09.00, CENTUM VP versions from R4.01.00 to R4.03.00, from R5.01.00 to R5.04…
- 4.3CVE-2020-27958osu ohio supercomputer center open ondemandEPSS 1.1%
The Job Composer app in Ohio Supercomputer Center Open OnDemand before 1.7.19 and 1.8.x before 1.8.18 allows remote authenticated users to provide crafted input in a job template.