{"answers":{"affected":"26 open source packages ship an affected version, including sabberworm/php-css-parser. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-13756 in the wild and no public exploit code.","fix":"Upgrade sabberworm/php-css-parser to a fixed version for your release line: 1.0.1, 2.0.1, 3.0.1 or 4.0.1.","what":"CVE-2020-13756 is a critical code injection vulnerability in n/a, published on 3 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-13756 and fix it if it is affected.\n\nWhat it is: CVE-2020-13756 is a critical code injection vulnerability in n/a, published on 3 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-13756 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- sabberworm/php-css-parser (Packagist): affected from 1.0.0; fixed in 1.0.1\n- sabberworm/php-css-parser (Packagist): affected from 1.0.0; fixed in 1.0.1\n- sabberworm/php-css-parser (Packagist): affected from 2.0.0; fixed in 2.0.1\n- sabberworm/php-css-parser (Packagist): affected from 2.0.0; fixed in 2.0.1\n- sabberworm/php-css-parser (Packagist): affected from 3.0.0; fixed in 3.0.1\n- sabberworm/php-css-parser (Packagist): affected from 3.0.0; fixed in 3.0.1\n- sabberworm/php-css-parser (Packagist): affected from 4.0.0; fixed in 4.0.1\n- sabberworm/php-css-parser (Packagist): affected from 4.0.0; fixed in 4.0.1\n- sabberworm/php-css-parser (Packagist): affected from 5.0.0; fixed in 5.0.9\n- sabberworm/php-css-parser (Packagist): affected from 5.0.0; fixed in 5.0.9\n- sabberworm/php-css-parser (Packagist): affected from 5.1.0; fixed in 5.1.3\n- sabberworm/php-css-parser (Packagist): affected from 5.1.0; fixed in 5.1.3\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-13756/ (Markdown: https://insights.sbomify.com/CVE-2020-13756/index.md)","id":"CVE-2020-13756","markdown":"https://insights.sbomify.com/CVE-2020-13756/index.md","name":"CVE-2020-13756","record":{"aliases":["DEBIAN-CVE-2020-13756","DLA-4333-1","GHSA-phrq-v4q2-hmq6","UBUNTU-CVE-2020-13756","USN-7502-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP CSS Parser","requires_auth":"none","summary":"Attacker can execute arbitrary code via eval on uncontrolled data in Sabberworm PHP CSS Parser when specific selector functions are called.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"php_css_parser","vendor":"sabberworm"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Sabberworm PHP CSS Parser before 8.3.1 calls eval on uncontrolled data, possibly leading to remote code execution if the function allSelectors() or getSelectorsBySpecificity() is called with input from an attacker.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2025-12-06","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-12-06T09:33:44Z","kind":"github_poc","ref":"https://github.com/KrE80r/CVE-2020-13756-env","stars":0,"title":"Vulnerable test environment for CVE-2020-13756 (Sabberworm PHP CSS Parser RCE)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Sabberworm PHP CSS Parser Code injection vulnerability in allSelectors()","id":"CVE-2020-13756","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"code_injection","year":"2020"},"n_packages":26,"n_references":4,"next":{"headline":"Python-RSA decryption of ciphertext leads to DoS","id":"CVE-2020-13757"},"packages":[{"ecosystem":"Packagist","fixed":["1.0.1"],"introduced":["1.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["1.0.1"],"introduced":["1.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["4.0.1"],"introduced":["4.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["4.0.1"],"introduced":["4.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["5.0.9"],"introduced":["5.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["5.0.9"],"introduced":["5.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["5.1.3"],"introduced":["5.1.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["5.1.3"],"introduced":["5.1.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["5.2.1"],"introduced":["5.2.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["5.2.1"],"introduced":["5.2.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["6.0.2"],"introduced":["6.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["6.0.2"],"introduced":["6.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["7.0.4"],"introduced":["7.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["7.0.4"],"introduced":["7.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["8.0.1"],"introduced":["8.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["8.0.1"],"introduced":["8.0.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["8.1.1"],"introduced":["8.1.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["8.1.1"],"introduced":["8.1.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["8.2.1"],"introduced":["8.2.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["8.2.1"],"introduced":["8.2.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["8.3.1"],"introduced":["8.3.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":null,"source":"GHSA-phrq-v4q2-hmq6"},{"ecosystem":"Packagist","fixed":["8.3.1"],"introduced":["8.3.0"],"last_affected":[],"package":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","source":"GHSA-phrq-v4q2-hmq6"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2020-13754"},"products":["n/a"],"published":"2020-06-03","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-11-03","vendors":["n/a"]},"summary":"Attacker can execute arbitrary code via eval on uncontrolled data in Sabberworm PHP CSS Parser when specific selector functions are called.","url":"https://insights.sbomify.com/CVE-2020-13756/"}