{"answers":{"affected":"1 open source package ship an affected version, including drupal/core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-13673 in the wild and no public exploit code.","fix":"Upgrade drupal/core to a fixed version for your release line: 8.9.19, 9.1.13 or 9.2.6.","what":"CVE-2020-13673 is a medium-severity cross-site scripting vulnerability in Drupal Entity Embed, published on 11 Feb 2022. 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-2020-13673 and fix it if it is affected.\n\nWhat it is: CVE-2020-13673 is a medium-severity cross-site scripting vulnerability in Drupal Entity Embed, published on 11 Feb 2022. 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-2020-13673 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- drupal/core (Packagist): affected from 8.0.0; fixed in 8.9.19, 9.1.13, 9.2.6\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-13673/ (Markdown: https://insights.sbomify.com/CVE-2020-13673/index.md)","id":"CVE-2020-13673","markdown":"https://insights.sbomify.com/CVE-2020-13673/index.md","name":"CVE-2020-13673","record":{"aliases":["DRUPAL-CONTRIB-2021-028","DRUPAL-CORE-2021-006","GHSA-vhmw-c4p7-7jrc"],"analysis":{"component_type":"cms_plugin","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Drupal Entity Embed","requires_auth":"none","summary":"An unprivileged user can inject HTML leading to cross-site scripting when a trusted user views the content, potentially allowing session hijacking or malicious actions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"drupal","cpe":[{"product":"entity_embed","vendor":"drupal"}],"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"},{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"The Entity Embed module provides a filter to allow embedding entities in content fields. In certain circumstances, the filter could allow an unprivileged user to inject HTML into a page when it is accessed by a trusted user with permission to embed entities. In some cases, this could lead to cross-site scripting.","ecosystems":["Packagist","Packagist:https://packages.drupal.org/8"],"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":"Cross-site scripting in Entity Embed","id":"CVE-2020-13673","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2020"},"n_packages":2,"n_references":1,"next":{"headline":"Cross-Site Request Forgery in Drupal core","id":"CVE-2020-13674"},"packages":[{"ecosystem":"Packagist","fixed":["8.9.19","9.1.13","9.2.6"],"introduced":["8.0.0","9.1.0","9.2.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"DRUPAL-CORE-2021-006"},{"ecosystem":"Packagist:https://packages.drupal.org/8","fixed":["1.2.0"],"introduced":["0"],"last_affected":[],"package":"drupal/entity_embed","purl":"pkg:composer/drupal/entity_embed?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"DRUPAL-CONTRIB-2021-028"}],"prev":{"headline":"Drupal core Cross-site Scripting (XSS) vulnerability","id":"CVE-2020-13672"},"products":["Entity Embed"],"published":"2022-02-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"MIT","name":"Drupal","prefix":"DRUPAL"},{"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":["Drupal"]},"summary":"An unprivileged user can inject HTML leading to cross-site scripting when a trusted user views the content, potentially allowing session hijacking or malicious actions.","url":"https://insights.sbomify.com/CVE-2020-13673/"}