{"answers":{"affected":"3 open source packages ship an affected version, including github.com/kitabisa/teler-waf. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-26046 in the wild and no public exploit code.","fix":"Upgrade github.com/kitabisa/teler-waf to 0.1.1 or later.","what":"CVE-2023-26046 is a medium-severity cross-site scripting vulnerability in kitabisa teler-waf, published on 2 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-26046 and fix it if it is affected.\n\nWhat it is: CVE-2023-26046 is a medium-severity cross-site scripting vulnerability in kitabisa teler-waf, published on 2 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-26046 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/kitabisa/teler-waf (Go): affected all versions; fixed in 0.1.1\n- github.com/kitabisa/teler-waf (Go): affected all versions; fixed in 0.1.1\n- github.com/kitabisa/teler-waf (Go): affected all versions; fixed in 0.1.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-26046/ (Markdown: https://insights.sbomify.com/CVE-2023-26046/index.md)","id":"CVE-2023-26046","markdown":"https://insights.sbomify.com/CVE-2023-26046/index.md","name":"CVE-2023-26046","record":{"aliases":["GHSA-9f95-hhg4-pg4f","GO-2023-1597"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Go WAF middleware","requires_auth":"none","summary":"Attackers can bypass WAF rules using HTML entities to execute arbitrary JavaScript, stealing credentials or hijacking sessions in applications using teler-waf.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"teler-waf","vendor":"kitabisa"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"description":"teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-based attacks. In teler-waf prior to version 0.1.1 is vulnerable to bypassing common web attack rules when a specific HTML entities payload is used. This vulnerability allows an attacker to execute arbitrary JavaScript code on the victim's browser and compromise the security of the web application. The vulnerability exists due to teler-waf failure to properly sanitize and filter HTML entities in user input. An attacker can exploit this vulnerability to bypass common web attack threat rules in teler-waf and launch cross-site scripting (XSS) attacks. The attacker can execute arbitrary JavaScript code on the victim's browser and steal sensitive information, such as login credentials and session tokens, or take control of the victim's browser and perform malicious actions. This issue has been fixed in version 0.1.1.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"teler-waf subject to bypass of common web attack threat rule with HTML entities payload","id":"CVE-2023-26046","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"teler-waf contains detection rule bypass via entities payload","id":"CVE-2023-26047"},"packages":[{"ecosystem":"Go","fixed":["0.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kitabisa/teler-waf","purl":null,"source":"GHSA-9f95-hhg4-pg4f"},{"ecosystem":"Go","fixed":["0.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kitabisa/teler-waf","purl":"pkg:golang/github.com/kitabisa/teler-waf","source":"GHSA-9f95-hhg4-pg4f"},{"ecosystem":"Go","fixed":["0.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kitabisa/teler-waf","purl":"pkg:golang/github.com/kitabisa/teler-waf","source":"GO-2023-1597"}],"prev":{"headline":"NodeBB vulnerable to path traversal and code execution via prototype vulnerability","id":"CVE-2023-26045"},"products":["teler-waf"],"published":"2023-03-02","related":[{"cvss_score":6.5,"headline":"teler-waf contains detection rule bypass via entities payload","id":"CVE-2023-26047","kev_date_added":null,"published":"2023-03-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-05","vendors":["kitabisa"]},"summary":"Attackers can bypass WAF rules using HTML entities to execute arbitrary JavaScript, stealing credentials or hijacking sessions in applications using teler-waf.","url":"https://insights.sbomify.com/CVE-2023-26046/"}