Publish Advisories

GHSA-9hfw-cvf4-5x25
GHSA-9mg6-x45v-hcfm
GHSA-cjcc-p67m-7qxm
GHSA-qvpj-w7xj-r6w9
GHSA-9hfw-cvf4-5x25
This commit is contained in:
advisory-database[bot]
2024-06-02 22:32:49 +00:00
parent c5fa86f34f
commit ecc896dda1
5 changed files with 286 additions and 39 deletions
@@ -0,0 +1,73 @@
{
"schema_version": "1.4.0",
"id": "GHSA-9hfw-cvf4-5x25",
"modified": "2024-06-02T22:32:11Z",
"published": "2024-05-31T18:31:14Z",
"aliases": [
"CVE-2022-25037"
],
"summary": "wanEditor was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function",
"details": "There is a cross-site scripting (XSS) issue in wanEditor via the image upload function in version 4.7.11. This issue has been fixed in version 4.7.12.",
"severity": [
],
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "@wangeditor/editor"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.7.12"
}
]
}
],
"database_specific": {
"last_known_affected_version_range": "<= 4.7.11"
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25037"
},
{
"type": "WEB",
"url": "https://github.com/wangeditor-team/wangEditor/issues/3870"
},
{
"type": "WEB",
"url": "https://github.com/wangeditor-team/wangEditor/issues/3872"
},
{
"type": "WEB",
"url": "https://github.com/wangeditor-team/wangEditor/commit/6257a2e166346913c34ac5cfb31b6a46e9544c5a"
},
{
"type": "WEB",
"url": "https://gist.github.com/Mdxjj/5cf0a31e8abf24ed688ceb5b3543516d"
},
{
"type": "PACKAGE",
"url": "https://github.com/wangeditor-team/wangEditor"
}
],
"database_specific": {
"cwe_ids": [
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2024-06-02T22:32:11Z",
"nvd_published_at": "2024-05-31T16:15:09Z"
}
}
@@ -0,0 +1,80 @@
{
"schema_version": "1.4.0",
"id": "GHSA-9mg6-x45v-hcfm",
"modified": "2024-06-02T22:32:24Z",
"published": "2024-06-02T22:32:24Z",
"aliases": [
"CVE-2024-37031"
],
"summary": "activeadmin vulnerable to stored persistent cross-site scripting (XSS) in dynamic form legends",
"details": "### Impact\n\nUsers settings their active admin form legends dynamically may be vulnerable to stored XSS, as long as its value can be injected directly by a malicious user.\n\nFor example:\n\n* A public web application allows users to create entities with arbitrary names.\n* Active Admin is used to administrate these entities through a private backend.\n* The form to edit these entities in the private backend has the following shape (note the dynamic `name` value dependent on an attribute of the `resource`):\n\n```ruby\n form do |f|\n f.inputs name: resource.name do\n f.input :name\n f.input :description\n end\n\n f.actions\n end\n```\n\nThen a malicious user could create an entity with a payload that would get executed in the active admin administrator's browser.\n\nBoth `form` blocks with an implicit or explicit name (i.e., both `form resource.name` or `form name: resource.name` would suffer from the problem), where the value of the name can be arbitrarily set by non admin users.\n\n### Patches\n\nThe problem has been fixed in ActiveAdmin 3.2.2 and ActiveAdmin 4.0.0.beta7.\n\n### Workarounds\n\nUsers can workaround this problem without upgrading by explicitly escaping the form name using an HTML escaping utility. For example:\n\n```ruby\n form do |f|\n f.inputs name: ERB::Util.html_escape(resource.name) do\n f.input :name\n f.input :description\n end\n\n f.actions\n end\n```\nUpgrading is of course recommended though.\n\n### References\nhttps://owasp.org/www-community/attacks/xss/#stored-xss-attacks",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "activeadmin"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.2"
}
]
}
]
},
{
"package": {
"ecosystem": "RubyGems",
"name": "activeadmin"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.0.0.beta1"
},
{
"fixed": "4.0.0.beta7"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/activeadmin/activeadmin/security/advisories/GHSA-9mg6-x45v-hcfm"
},
{
"type": "WEB",
"url": "https://github.com/activeadmin/activeadmin/pull/8349"
},
{
"type": "PACKAGE",
"url": "https://github.com/activeadmin/activeadmin"
}
],
"database_specific": {
"cwe_ids": [
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2024-06-02T22:32:24Z",
"nvd_published_at": null
}
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,73 @@
{
"schema_version": "1.4.0",
"id": "GHSA-qvpj-w7xj-r6w9",
"modified": "2024-06-02T22:30:45Z",
"published": "2024-06-02T22:30:45Z",
"aliases": [
"CVE-2024-36119"
],
"summary": "Password confirmation stored in plain text via registration form in statamic/cms",
"details": "Users registering via the `user:register_form` tag will have their password confirmation stored in plain text in their user file.\n\n### Impact\nThis only affects sites matching **all** of the following conditions:\n- Running Statamic versions between 5.3.0 and 5.6.1. (This version range represents only one calendar week)\n- Using the `user:register_form` tag.\n- Using file-based user accounts. (Does not affect users stored in a database.)\n- Has users that have registered during that time period. (Existing users are not affected.)\n\nThe password is only visible to users that have access to read user yaml files, typically developers of the application itself.\n\n### Patches\nThe issue has been patched in 5.6.2, however any users registered during that time period and using the affected version range will still have the the `password_confirmation` value in their yaml files.\n\nWe recommend that affected users have their password reset. The following query can be entered into `php artisan tinker` and will output a list of affected emails:\n\n```php\nStatamic\\Facades\\User::query()->whereNotNull('password_confirmation')->get()->map->email\n```\n\nThe following can be entered into `tinker` and will clear both password_confirmation as well as their existing password. They will be required to reset their password before their next login attempt.\n\n```php\nStatamic\\Facades\\User::query()\n ->whereNotNull('password_confirmation')->get()\n ->each(fn ($user) => $user->remove('password_confirmation')->passwordHash(null)->save());\n```\n\n### References\nIf you are committing user files to a public git repo, you may consider clearing the sensitive data from the git history. You can use the following links for details.\n- https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository\n- https://dev.to/balogh08/cleaning-your-git-history-safely-removing-sensitive-data-10i5",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "statamic/cms"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.3.0"
},
{
"fixed": "5.6.2"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/statamic/cms/security/advisories/GHSA-qvpj-w7xj-r6w9"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-36119"
},
{
"type": "WEB",
"url": "https://github.com/statamic/cms/commit/0b804306c96c99b81755d5bd02df87ddf392853e"
},
{
"type": "WEB",
"url": "https://dev.to/balogh08/cleaning-your-git-history-safely-removing-sensitive-data-10i5"
},
{
"type": "WEB",
"url": "https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository"
},
{
"type": "PACKAGE",
"url": "https://github.com/statamic/cms"
}
],
"database_specific": {
"cwe_ids": [
"CWE-312"
],
"severity": "LOW",
"github_reviewed": true,
"github_reviewed_at": "2024-06-02T22:30:45Z",
"nvd_published_at": "2024-05-30T21:15:09Z"
}
}
@@ -1,39 +0,0 @@
{
"schema_version": "1.4.0",
"id": "GHSA-9hfw-cvf4-5x25",
"modified": "2024-05-31T18:31:14Z",
"published": "2024-05-31T18:31:14Z",
"aliases": [
"CVE-2022-25037"
],
"details": "An issue in wanEditor v4.7.11 and fixed in v.4.7.12 and v.5 was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function.",
"severity": [
],
"affected": [
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25037"
},
{
"type": "WEB",
"url": "https://github.com/wangeditor-team/wangEditor/issues/3870"
},
{
"type": "WEB",
"url": "https://gist.github.com/Mdxjj/5cf0a31e8abf24ed688ceb5b3543516d"
}
],
"database_specific": {
"cwe_ids": [
],
"severity": null,
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-05-31T16:15:09Z"
}
}