{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2020-4027 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-4027 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-4027 is a medium-severity code injection vulnerability in Atlassian Confluence Data Center, published on 1 Jul 2020. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-4027 and fix it if it is affected.\n\nWhat it is: CVE-2020-4027 is a medium-severity code injection vulnerability in Atlassian Confluence Data Center, published on 1 Jul 2020. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-4027 in the wild and no public exploit code.\n\nAffected product: Atlassian Confluence Data Center. 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-2020-4027/ (Markdown: https://insights.sbomify.com/CVE-2020-4027/index.md)","id":"CVE-2020-4027","markdown":"https://insights.sbomify.com/CVE-2020-4027/index.md","name":"CVE-2020-4027","record":{"aliases":["GHSA-jp4c-chxh-7gcg"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Atlassian Confluence","requires_auth":"high_privilege","summary":"Remote attackers with admin permissions can bypass velocity template injection mitigations to execute arbitrary code via custom user macros.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"atlassian","cpe":[{"product":"confluence","vendor":"atlassian"},{"product":"confluence_server","vendor":"atlassian"}],"cvss":{"score":4.7,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"Affected versions of Atlassian Confluence Server and Data Center allowed remote attackers with system administration permissions to bypass velocity template injection mitigations via an injection vulnerability in custom user macros. The affected versions are before version 7.4.5, and from version 7.5.0 before 7.5.1.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Code injection in Confluence Data Center","id":"CVE-2020-4027","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"Information disclosure in Jira Server and Data Center","id":"CVE-2020-4028"},"packages":[],"prev":{"headline":"Missing authorization in Crucible","id":"CVE-2020-4026"},"products":["Confluence Data Center","Confluence Server"],"published":"2020-07-01","related":[{"cvss_score":9.8,"headline":"Server-side request forgery in Confluence Server","id":"CVE-2019-3395","kev_date_added":null,"published":"2019-03-25"},{"cvss_score":8.8,"headline":"Path traversal in Confluence Server","id":"CVE-2019-3394","kev_date_added":null,"published":"2019-08-29"},{"cvss_score":7.8,"headline":"Privilege escalation in Confluence Data Center","id":"CVE-2019-20406","kev_date_added":null,"published":"2020-02-06"},{"cvss_score":6.5,"headline":"Other in Confluence Server","id":"CVE-2019-15006","kev_date_added":null,"published":"2019-12-19"},{"cvss_score":6.1,"headline":"Cross-site scripting in Confluence","id":"CVE-2017-18085","kev_date_added":null,"published":"2018-02-02"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2017-18086","kev_date_added":null,"published":"2018-02-02"},{"cvss_score":6.1,"headline":"Cross-site scripting in Confluence","id":"CVE-2017-16856","kev_date_added":null,"published":"2017-12-05"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Atlassian"]},"summary":"Remote attackers with admin permissions can bypass velocity template injection mitigations to execute arbitrary code via custom user macros.","url":"https://insights.sbomify.com/CVE-2020-4027/"}