{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.portals.pluto:pluto-portal. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-36737 in the wild and no public exploit code.","fix":"Upgrade org.apache.portals.pluto:pluto-portal to 3.1.1 or later.","what":"CVE-2021-36737 is a medium-severity vulnerability in Apache Portals, published on 6 Jan 2022."},"fix_prompt":"Check this codebase for CVE-2021-36737 and fix it if it is affected.\n\nWhat it is: CVE-2021-36737 is a medium-severity vulnerability in Apache Portals, published on 6 Jan 2022. \nExploitation: There is no known exploitation of CVE-2021-36737 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.portals.pluto:pluto-portal (Maven): affected all versions; fixed in 3.1.1\n- org.apache.portals.pluto:pluto-portal (Maven): affected all versions; fixed in 3.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-2021-36737/ (Markdown: https://insights.sbomify.com/CVE-2021-36737/index.md)","id":"CVE-2021-36737","markdown":"https://insights.sbomify.com/CVE-2021-36737/index.md","name":"CVE-2021-36737","record":{"aliases":["GHSA-x588-g38j-f672"],"analysis":null,"analysis_generated_by":null,"assigner":"apache","cpe":[{"product":"pluto","vendor":"apache"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/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":"The input fields of the Apache Pluto UrlTestPortlet are vulnerable to Cross-Site Scripting (XSS) attacks. Users should migrate to version 3.1.1 of the v3-demo-portlet.war artifact","ecosystems":["Maven"],"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":"XSS in V3 Demo Portlet","id":"CVE-2021-36737","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2021"},"n_packages":2,"n_references":1,"next":{"headline":"XSS vulnerability in the JSP version of the Apache Pluto Applicant MVCBean CDI portlet","id":"CVE-2021-36738"},"packages":[{"ecosystem":"Maven","fixed":["3.1.1"],"introduced":["0"],"last_affected":[],"package":"org.apache.portals.pluto:pluto-portal","purl":null,"source":"GHSA-x588-g38j-f672"},{"ecosystem":"Maven","fixed":["3.1.1"],"introduced":["0"],"last_affected":[],"package":"org.apache.portals.pluto:pluto-portal","purl":"pkg:maven/org.apache.portals.pluto/pluto-portal","source":"GHSA-x588-g38j-f672"}],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2021-36736"},"products":["Apache Portals"],"published":"2022-01-06","related":[{"cvss_score":7.5,"headline":"Exposure of Sensitive Information in Apache Pluto","id":"CVE-2018-1306","kev_date_added":null,"published":"2018-06-27"},{"cvss_score":6.1,"headline":"XSS vulnerability in the JSP version of the Apache Pluto Applicant MVCBean CDI portlet","id":"CVE-2021-36738","kev_date_added":null,"published":"2022-01-06"},{"cvss_score":6.1,"headline":"XSS vulnerability in the MVCBean JSP portlet maven archetype","id":"CVE-2021-36739","kev_date_added":null,"published":"2022-01-06"},{"cvss_score":6.1,"headline":"Cross-site Scripting in Apache Pluto Chatroom demo","id":"CVE-2019-0186","kev_date_added":null,"published":"2019-04-26"},{"cvss_score":4.4,"headline":"Information disclosure in JUnit4","id":"CVE-2020-15250","kev_date_added":null,"published":"2020-10-12"}],"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-04","vendors":["Apache Software Foundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2021-36737/"}