{"answers":{"affected":"2 open source packages ship an affected version, including org.rundeck:rundeck. It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-6804 in the wild and no public exploit code.","fix":"Upgrade org.rundeck:rundeck to 3.0.13 or later.","what":"CVE-2019-6804 is a medium-severity cross-site scripting vulnerability in n/a, published on 25 Jan 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2019-6804 and fix it if it is affected.\n\nWhat it is: CVE-2019-6804 is a medium-severity cross-site scripting vulnerability in n/a, published on 25 Jan 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2019-6804 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.rundeck:rundeck (Maven): affected all versions; fixed in 3.0.13\n- org.rundeck:rundeck (Maven): affected all versions; fixed in 3.0.13\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-2019-6804/ (Markdown: https://insights.sbomify.com/CVE-2019-6804/index.md)","id":"CVE-2019-6804","markdown":"https://insights.sbomify.com/CVE-2019-6804/index.md","name":"CVE-2019-6804","record":{"aliases":["GHSA-4262-wr7p-gpcj"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Rundeck Community Edition","requires_auth":"none","summary":"An attacker can execute arbitrary scripts in the Job Edit page of Rundeck, potentially compromising user sessions or data.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"rundeck","vendor":"pagerduty"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"An XSS issue was discovered on the Job Edit page in Rundeck Community Edition before 3.0.13, related to assets/javascripts/workflowStepEditorKO.js and views/execution/_wfitemEdit.gsp.","ecosystems":["Maven"],"exploits":{"exploitdb":1,"first_seen":"2019-01-28","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-01-28","kind":"exploitdb","ref":"46251","stars":null,"title":"Rundeck Community Edition \u003c 3.0.13 - Persistent Cross-Site Scripting"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Rundeck Community Edition vulnerable to Cross-site Scripting","id":"CVE-2019-6804","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2019"},"n_packages":2,"n_references":3,"next":{"headline":"SQL injection in n/a","id":"CVE-2019-6805"},"packages":[{"ecosystem":"Maven","fixed":["3.0.13"],"introduced":["0"],"last_affected":[],"package":"org.rundeck:rundeck","purl":null,"source":"GHSA-4262-wr7p-gpcj"},{"ecosystem":"Maven","fixed":["3.0.13"],"introduced":["0"],"last_affected":[],"package":"org.rundeck:rundeck","purl":"pkg:maven/org.rundeck/rundeck","source":"GHSA-4262-wr7p-gpcj"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2019-6803"},"products":["n/a"],"published":"2019-01-25","related":[{"cvss_score":9.1,"headline":"Use of Hard-coded Cryptographic Key in rundeck/rundeck, rundeckpro/enterprise","id":"CVE-2022-29186","kev_date_added":null,"published":"2022-05-20"},{"cvss_score":8.8,"headline":"YAML deserialization can run untrusted code","id":"CVE-2021-39132","kev_date_added":null,"published":"2021-08-30"},{"cvss_score":8.1,"headline":"Authenticated users can view or delete jobs they do not have authorization for in Rundeck","id":"CVE-2023-48222","kev_date_added":null,"published":"2023-11-16"},{"cvss_score":8.1,"headline":"Missing Authorization in Rundeck","id":"CVE-2021-41112","kev_date_added":null,"published":"2022-02-28"},{"cvss_score":7.5,"headline":"Plaintext Storage of Keys and Passwords in Rundeck and PagerDuty Process Automation","id":"CVE-2022-31044","kev_date_added":null,"published":"2022-06-15"},{"cvss_score":7.2,"headline":"Cross-Site Request Forgery (CSRF) can run untrusted code on Rundeck server","id":"CVE-2021-39133","kev_date_added":null,"published":"2021-08-30"},{"cvss_score":6.5,"headline":"IDOR can reveal execution data and logs to unauthorized user in Rundeck","id":"CVE-2020-11009","kev_date_added":null,"published":"2020-04-29"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"An attacker can execute arbitrary scripts in the Job Edit page of Rundeck, potentially compromising user sessions or data.","url":"https://insights.sbomify.com/CVE-2019-6804/"}