{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-4881 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-4881 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-4881 is a medium-severity cross-site scripting vulnerability in CapsAdmin PAC3, published on 8 Jan 2023. 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-2022-4881 and fix it if it is affected.\n\nWhat it is: CVE-2022-4881 is a medium-severity cross-site scripting vulnerability in CapsAdmin PAC3, published on 8 Jan 2023. 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-2022-4881 in the wild and no public exploit code.\n\nAffected product: CapsAdmin PAC3. 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-2022-4881/ (Markdown: https://insights.sbomify.com/CVE-2022-4881/index.md)","id":"CVE-2022-4881","markdown":"https://insights.sbomify.com/CVE-2022-4881/index.md","name":"CVE-2022-4881","record":{"aliases":["GHSA-x9jx-g7pm-j8rc"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Garry's Mod addon","requires_auth":"none","summary":"Remote attackers can execute arbitrary scripts via the url argument in PAC3's http.lua, requiring a patch to mitigate.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"pac3","vendor":"pac3_project"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A vulnerability was found in CapsAdmin PAC3. It has been rated as problematic. Affected by this issue is some unknown functionality of the file lua/pac3/core/shared/http.lua. The manipulation of the argument url leads to cross site scripting. The attack may be launched remotely. The patch is identified as 8fc9e12dfa21d757be6eb4194c763e848b299ac0. It is recommended to apply a patch to fix this issue. VDB-217646 is the identifier assigned to this vulnerability.","ecosystems":[],"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":"CapsAdmin PAC3 http.lua cross site scripting","id":"CVE-2022-4881","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":4,"next":{"headline":"kaltura mwEmbed Share Plugin share.js cross site scripting","id":"CVE-2022-4882"},"packages":[],"prev":{"headline":"stakira OpenUtau ZIP Archive VoicebankInstaller.cs VoicebankInstaller path traversal","id":"CVE-2022-4880"},"products":["PAC3"],"published":"2023-01-08","related":[],"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-08-03","vendors":["CapsAdmin"]},"summary":"Remote attackers can execute arbitrary scripts via the url argument in PAC3's http.lua, requiring a patch to mitigate.","url":"https://insights.sbomify.com/CVE-2022-4881/"}