{"answers":{"affected":"2 open source packages ship an affected version, including apidoc-core.","exploited":"There is no known exploitation of CVE-2025-13158 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-13158 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-13158 is a critical vulnerability in apidoc-core, published on 26 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-13158 and fix it if it is affected.\n\nWhat it is: CVE-2025-13158 is a critical vulnerability in apidoc-core, published on 26 Dec 2025. 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-2025-13158 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- apidoc-core (npm): affected from 0.2.0 up to 0.15.0; no fix listed\n- apidoc-core (npm): affected from 0.2.0 up to 0.15.0; no fix listed\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-2025-13158/ (Markdown: https://insights.sbomify.com/CVE-2025-13158/index.md)","id":"CVE-2025-13158","markdown":"https://insights.sbomify.com/CVE-2025-13158/index.md","name":"CVE-2025-13158","record":{"aliases":["GHSA-6vj3-p34w-xxjp"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["denial_of_service","other"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript documentation library","requires_auth":"none","summary":"Remote attackers can pollute JavaScript object prototypes via malformed data, causing denial of service or unintended behavior in applications using apidoc-core.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Sonatype","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"Prototype pollution vulnerability in apidoc-core versions 0.2.0 and all subsequent versions allows remote attackers to modify JavaScript object prototypes via malformed data structures, including the “define” property processed by the application, potentially leading to denial of service or unintended behavior in applications relying on the integrity of prototype chains. This affects the preProcess() function in api_group.js, api_param_title.js, api_use.js, and api_permission.js worker modules.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"apidoc-core - prototype pollution in api_group.js, api_param_title.js, api_use.js, and api_permission.js worker","id":"CVE-2025-13158","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2025"},"n_packages":2,"n_references":1,"next":{"headline":"Flo Forms – Easy Drag \u0026 Drop Form Builder \u003c= 1.0.43 - Unauthenticated Stored Cross-Site Scripting via SVG Upload","id":"CVE-2025-13159"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0.2.0"],"last_affected":["0.15.0"],"package":"apidoc-core","purl":null,"source":"GHSA-6vj3-p34w-xxjp"},{"ecosystem":"npm","fixed":[],"introduced":["0.2.0"],"last_affected":["0.15.0"],"package":"apidoc-core","purl":"pkg:npm/apidoc-core","source":"GHSA-6vj3-p34w-xxjp"}],"prev":{"headline":"QODE Wishlist for WooCommerce \u003c= 1.2.7 - Unauthenticated Insecure Direct Object Reference to Wishlist Update","id":"CVE-2025-13157"},"products":["apidoc-core"],"published":"2025-12-26","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-12-26","vendors":["apiDoc"]},"summary":"Remote attackers can pollute JavaScript object prototypes via malformed data, causing denial of service or unintended behavior in applications using apidoc-core.","url":"https://insights.sbomify.com/CVE-2025-13158/"}