{"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-26047 in the wild and no public exploit code.","fix":"Upgrade github.com/kitabisa/teler-waf to 0.2.0 or later.","what":"CVE-2023-26047 is a medium-severity cross-site scripting vulnerability in kitabisa teler-waf, published on 3 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-26047 and fix it if it is affected.\n\nWhat it is: CVE-2023-26047 is a medium-severity cross-site scripting vulnerability in kitabisa teler-waf, published on 3 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-26047 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.2.0\n- github.com/kitabisa/teler-waf (Go): affected all versions; fixed in 0.2.0\n- github.com/kitabisa/teler-waf (Go): affected all versions; fixed in 0.2.0\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-26047/ (Markdown: https://insights.sbomify.com/CVE-2023-26047/index.md)","id":"CVE-2023-26047","markdown":"https://insights.sbomify.com/CVE-2023-26047/index.md","name":"CVE-2023-26047","record":{"aliases":["GHSA-p2pf-g8cq-3gq5","GO-2023-1600"],"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 teler-waf detection rules using encoded payloads to execute arbitrary JavaScript, stealing credentials or hijacking sessions.","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:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-692","name":"Incomplete Denylist to Cross-Site Scripting"}],"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 v0.2.0 is vulnerable to a bypass attack when a specific case-sensitive hex entities payload with special characters such as CR/LF and horizontal tab 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. 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 patched in version 0.2.0.","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 contains detection rule bypass via entities payload","id":"CVE-2023-26047","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"OutOfMemoryError for large multipart without filename in Eclipse Jetty","id":"CVE-2023-26048"},"packages":[{"ecosystem":"Go","fixed":["0.2.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kitabisa/teler-waf","purl":null,"source":"GHSA-p2pf-g8cq-3gq5"},{"ecosystem":"Go","fixed":["0.2.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kitabisa/teler-waf","purl":"pkg:golang/github.com/kitabisa/teler-waf","source":"GHSA-p2pf-g8cq-3gq5"},{"ecosystem":"Go","fixed":["0.2.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kitabisa/teler-waf","purl":"pkg:golang/github.com/kitabisa/teler-waf","source":"GO-2023-1600"}],"prev":{"headline":"teler-waf subject to bypass of common web attack threat rule with HTML entities payload","id":"CVE-2023-26046"},"products":["teler-waf"],"published":"2023-03-03","related":[{"cvss_score":6.5,"headline":"teler-waf subject to bypass of common web attack threat rule with HTML entities payload","id":"CVE-2023-26046","kev_date_added":null,"published":"2023-03-02"}],"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-02-25","vendors":["kitabisa"]},"summary":"Attackers can bypass teler-waf detection rules using encoded payloads to execute arbitrary JavaScript, stealing credentials or hijacking sessions.","url":"https://insights.sbomify.com/CVE-2023-26047/"}