{"answers":{"affected":"2 open source packages ship an affected version, including node-json2html. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-25053 in the wild and no public exploit code.","fix":"Upgrade node-json2html to 1.2.0 or later.","what":"CVE-2018-25053 is a medium-severity vulnerability in moappi Json2html, published on 28 Dec 2022."},"fix_prompt":"Check this codebase for CVE-2018-25053 and fix it if it is affected.\n\nWhat it is: CVE-2018-25053 is a medium-severity vulnerability in moappi Json2html, published on 28 Dec 2022. \nExploitation: There is no known exploitation of CVE-2018-25053 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- node-json2html (npm): affected all versions; fixed in 1.2.0\n- node-json2html (npm): affected all versions; fixed in 1.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-2018-25053/ (Markdown: https://insights.sbomify.com/CVE-2018-25053/index.md)","id":"CVE-2018-25053","markdown":"https://insights.sbomify.com/CVE-2018-25053/index.md","name":"CVE-2018-25053","record":{"aliases":["GHSA-79mp-cxp4-9p6r"],"analysis":null,"analysis_generated_by":null,"assigner":"VulDB","cpe":[{"product":"json2html","vendor":"json2html"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A vulnerability was found in moappi Json2html up to 1.1.x and classified as problematic. This issue affects some unknown processing of the file json2html.js. The manipulation leads to cross site scripting. The attack may be initiated remotely. Upgrading to version 1.2.0 is able to address this issue. The name of the patch is 2d3d24d971b19a8ed1fb823596300b9835d55801. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216959.","ecosystems":["npm"],"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":"moappi Json2html json2html.js cross site scripting","id":"CVE-2018-25053","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2018"},"n_packages":2,"n_references":4,"next":{"headline":"shred cilla Search search.jsp cross site scripting","id":"CVE-2018-25054"},"packages":[{"ecosystem":"npm","fixed":["1.2.0"],"introduced":["0"],"last_affected":[],"package":"node-json2html","purl":null,"source":"GHSA-79mp-cxp4-9p6r"},{"ecosystem":"npm","fixed":["1.2.0"],"introduced":["0"],"last_affected":[],"package":"node-json2html","purl":"pkg:npm/node-json2html","source":"GHSA-79mp-cxp4-9p6r"}],"prev":{"headline":"Catalyst-Plugin-Session Session ID Session.pm _load_sessionid cross site scripting","id":"CVE-2018-25052"},"products":["Json2html"],"published":"2022-12-28","related":[],"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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["moappi"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2018-25053/"}