{"answers":{"affected":"It affects 4 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-12981 exists.","fix":"No fix has been published for CVE-2018-12981 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-12981 is a medium-severity cross-site scripting vulnerability in n/a, published on 12 Jul 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-12981 and fix it if it is affected.\n\nWhat it is: CVE-2018-12981 is a medium-severity cross-site scripting vulnerability in n/a, published on 12 Jul 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-12981 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2018-12981/ (Markdown: https://insights.sbomify.com/CVE-2018-12981/index.md)","id":"CVE-2018-12981","markdown":"https://insights.sbomify.com/CVE-2018-12981/index.md","name":"CVE-2018-12981","record":{"aliases":["GHSA-vjxp-m6h5-h384"],"analysis":{"component_type":"iot_embedded","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"WAGO e!DISPLAY","requires_auth":"low_privilege","summary":"Attackers can inject malicious code into the web-based management interface of WAGO e!DISPLAY devices, potentially executing it in user browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"762-3000_firmware","vendor":"wago"},{"product":"762-3001_firmware","vendor":"wago"},{"product":"762-3002_firmware","vendor":"wago"},{"product":"762-3003_firmware","vendor":"wago"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"An issue was discovered on WAGO e!DISPLAY 762-3000 through 762-3003 devices with firmware before FW 02. The vulnerability can be exploited by authenticated and unauthenticated users by sending special crafted requests to the web server allowing injecting code within the WBM. The code will be rendered and/or executed in the browser of the user's browser.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2018-07-13","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-07-13","kind":"exploitdb","ref":"45014","stars":null,"title":"WAGO e!DISPLAY 7300T - Multiple Vulnerabilities"}],"tier":"weaponised"},"has_fix":null,"headline":"Cross-site scripting in n/a","id":"CVE-2018-12981","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2018"},"n_packages":0,"n_references":6,"next":{"headline":"Denial of service in n/a","id":"CVE-2018-12982"},"packages":[],"prev":{"headline":"File upload in n/a","id":"CVE-2018-12980"},"products":["n/a"],"published":"2018-07-12","related":[{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2018-12980","kev_date_added":null,"published":"2018-07-12"},{"cvss_score":6.5,"headline":"File upload in n/a","id":"CVE-2018-12979","kev_date_added":null,"published":"2018-07-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can inject malicious code into the web-based management interface of WAGO e!DISPLAY devices, potentially executing it in user browsers.","url":"https://insights.sbomify.com/CVE-2018-12981/"}