{"answers":{"affected":"2 open source packages ship an affected version, including facturascripts/facturascripts.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42878 exists.","fix":"No fix has been published for CVE-2026-42878 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-42878 is a medium-severity vulnerability in NeoRazorX facturascripts, published on 27 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42878 and fix it if it is affected.\n\nWhat it is: CVE-2026-42878 is a medium-severity vulnerability in NeoRazorX facturascripts, published on 27 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42878 exists.\n\nAffected packages and fixed versions:\n- facturascripts/facturascripts (Packagist): affected from 2026 up to 2026.1; no fix listed\n- facturascripts/facturascripts (Packagist): affected from 2026 up to 2026.1; 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-2026-42878/ (Markdown: https://insights.sbomify.com/CVE-2026-42878/index.md)","id":"CVE-2026-42878","markdown":"https://insights.sbomify.com/CVE-2026-42878/index.md","name":"CVE-2026-42878","record":{"aliases":["GHSA-vrxf-vrc4-22p7"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Accounting software","requires_auth":"none","summary":"Unauthenticated attackers can access phpinfo() on fresh FacturaScripts deployments, exposing sensitive server configuration and credentials.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"FacturaScripts is an open source accounting and invoicing software. Prior to v2026, an unauthenticated information disclosure vulnerability in the Installer controller allows any remote attacker to trigger phpinfo() on a fresh FacturaScripts deployment by requesting /?phpinfo=TRUE, exposing full PHP configuration, server environment variables (including any database credentials, API keys, or application secrets set as env vars), filesystem paths, and loaded extensions without being authenticated. This vulnerability is fixed in v2026.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-42878.yaml","stars":null,"title":"FacturaScripts - Unauthenticated phpinfo Disclosure"}],"tier":"weaponised"},"has_fix":false,"headline":"FacturaScripts: Unauthenticated phpinfo() Disclosure via Installer Endpoint in FacturaScripts","id":"CVE-2026-42878","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"FacturaScripts: Authenticated Remote Code Execution (RCE) via GIF Image Upload in Product Images","id":"CVE-2026-42879"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["2026"],"last_affected":["2026.1"],"package":"facturascripts/facturascripts","purl":null,"source":"GHSA-vrxf-vrc4-22p7"},{"ecosystem":"Packagist","fixed":[],"introduced":["2026"],"last_affected":["2026.1"],"package":"facturascripts/facturascripts","purl":"pkg:composer/facturascripts/facturascripts","source":"GHSA-vrxf-vrc4-22p7"}],"prev":{"headline":"FacturaScripts: Stored XSS via product reference in sales/purchases","id":"CVE-2026-42877"},"products":["facturascripts"],"published":"2026-05-27","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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-28","vendors":["NeoRazorX"]},"summary":"Unauthenticated attackers can access phpinfo() on fresh FacturaScripts deployments, exposing sensitive server configuration and credentials.","url":"https://insights.sbomify.com/CVE-2026-42878/"}