Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
3
Star
0
Fork
10
src-openEuler
/
rubygem-rails-html-sanitizer
Code
Issues
10
Pull Requests
0
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
CVE-2022-23519
Backlog
#I66ADW
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2022-12-15 11:48
一、漏洞信息 漏洞编号:[CVE-2022-23519](https://nvd.nist.gov/vuln/detail/CVE-2022-23519) 漏洞归属组件:[rubygem-rails-html-sanitizer](https://gitee.com/src-openeuler/rubygem-rails-html-sanitizer) 漏洞归属的版本:1.0.4,1.4.2,1.4.3 CVSS V3.0分值: BaseScore:6.1 Medium Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 漏洞简述: rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Prior to version 1.4.4, a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer may allow an attacker to inject content if the application developer has overridden the sanitizer s allowed tags in either of the following ways: allow both math and style elements, or allow both svg and style elements. Code is only impacted if allowed tags are being overridden. . This issue is fixed in version 1.4.4. All users overriding the allowed tags to include math or svg and style should either upgrade or use the following workaround immediately: Remove style from the overridden allowed tags, or remove math and svg from the overridden allowed tags. 漏洞公开时间:2022-12-15 01:15:11 漏洞创建时间:2025-10-27 19:09:24 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2022-23519 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | | | security-advisories.github.com | https://hackerone.com/reports/1656627 | | | security-advisories.github.com | https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-23519 | https://bugzilla.suse.com/show_bug.cgi?id=1206435 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2022-23519 | https://bugzilla.suse.com/show_bug.cgi?id=1206435 | | suse_bugzilla | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | https://bugzilla.suse.com/show_bug.cgi?id=1206435 | | suse_bugzilla | https://hackerone.com/reports/1656627 | https://bugzilla.suse.com/show_bug.cgi?id=1206435 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:2097 | https://bugzilla.redhat.com/show_bug.cgi?id=2153744 | | redhat_bugzilla | https://access.redhat.com/security/cve/cve-2022-23519 | https://bugzilla.redhat.com/show_bug.cgi?id=2153744 | | ubuntu | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23519 | https://ubuntu.com/security/CVE-2022-23519 | | ubuntu | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | https://ubuntu.com/security/CVE-2022-23519 | | ubuntu | https://hackerone.com/reports/1656627 | https://ubuntu.com/security/CVE-2022-23519 | | ubuntu | https://nvd.nist.gov/vuln/detail/CVE-2022-23519 | https://ubuntu.com/security/CVE-2022-23519 | | ubuntu | https://launchpad.net/bugs/cve/CVE-2022-23519 | https://ubuntu.com/security/CVE-2022-23519 | | ubuntu | https://security-tracker.debian.org/tracker/CVE-2022-23519 | https://ubuntu.com/security/CVE-2022-23519 | | debian | | https://security-tracker.debian.org/tracker/CVE-2022-23519 | | ruby | | https://github.com/rubysec/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2022-23519.yml | | cve_search | | https://hackerone.com/reports/1656627 | | cve_search | | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | | cve_search | | https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | | github_advisory | https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails-html-sanitizer/CVE-2022-23519.yml | https://github.com/advisories/GHSA-9h9g-93gc-623h | | github_advisory | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | https://github.com/advisories/GHSA-9h9g-93gc-623h | | github_advisory | https://hackerone.com/reports/1656627 | https://github.com/advisories/GHSA-9h9g-93gc-623h | | github_advisory | https://nvd.nist.gov/vuln/detail/CVE-2022-23519 | https://github.com/advisories/GHSA-9h9g-93gc-623h | | osv | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | https://osv.dev/vulnerability/CVE-2022-23519 | | osv | https://hackerone.com/reports/1656627 | https://osv.dev/vulnerability/CVE-2022-23519 | | osv | https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | https://osv.dev/vulnerability/CVE-2022-23519 | | osv | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | https://osv.dev/vulnerability/GHSA-9h9g-93gc-623h | | osv | https://nvd.nist.gov/vuln/detail/CVE-2022-23519 | https://osv.dev/vulnerability/GHSA-9h9g-93gc-623h | | osv | https://hackerone.com/reports/1656627 | https://osv.dev/vulnerability/GHSA-9h9g-93gc-623h | | osv | https://github.com/rails/rails-html-sanitizer | https://osv.dev/vulnerability/GHSA-9h9g-93gc-623h | | osv | https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails-html-sanitizer/CVE-2022-23519.yml | https://osv.dev/vulnerability/GHSA-9h9g-93gc-623h | | security-advisories.github.com | https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | | | nvd | https://hackerone.com/reports/1656627 | | | nvd | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | | | redhat | https://access.redhat.com/security/cve/CVE-2022-23519 | | | nvd | https://hackerone.com/reports/1656627 | | | nvd | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | | | debian | https://security-tracker.debian.org/tracker/CVE-2022-23519 | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | | nvd | | | | https://hackerone.com/reports/1656627 | | nvd | | | | https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: openEuler评分: 6.1 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 受影响版本排查(受影响/不受影响): 1.openEuler-20.03-LTS-SP1(1.0.4): 2.openEuler-20.03-LTS-SP3(1.0.4): 3.openEuler-22.03-LTS(1.4.2): 4.openEuler-24.03-LTS-Next(1.4.3): 5.openEuler-22.03-LTS-SP4(1.4.2): 6.master(1.6.0): 7.openEuler-20.03-LTS-SP4(1.0.4): 8.openEuler-22.03-LTS-SP1(1.4.2): 9.openEuler-22.03-LTS-SP3(1.4.2): 10.openEuler-24.03-LTS(1.4.3): 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP1(1.0.4): 2.openEuler-20.03-LTS-SP3(1.0.4): 3.openEuler-22.03-LTS(1.4.2): 4.openEuler-24.03-LTS-Next(1.4.3): 5.openEuler-22.03-LTS-SP4(1.4.2): 6.master(1.6.0): 原因说明: 1.master(1.6.0): 2.openEuler-20.03-LTS-SP4(1.0.4): 3.openEuler-22.03-LTS-SP3(1.4.2): 4.openEuler-22.03-LTS-SP4(1.4.2): 5.openEuler-24.03-LTS(1.4.3): 6.openEuler-24.03-LTS-Next(1.4.3): 7.openEuler-24.03-LTS-SP1(1.4.3): 8.openEuler-24.03-LTS-SP2(1.4.3): 9.openEuler-24.03-LTS-SP3(1.4.3):
一、漏洞信息 漏洞编号:[CVE-2022-23519](https://nvd.nist.gov/vuln/detail/CVE-2022-23519) 漏洞归属组件:[rubygem-rails-html-sanitizer](https://gitee.com/src-openeuler/rubygem-rails-html-sanitizer) 漏洞归属的版本:1.0.4,1.4.2,1.4.3 CVSS V3.0分值: BaseScore:6.1 Medium Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 漏洞简述: rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Prior to version 1.4.4, a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer may allow an attacker to inject content if the application developer has overridden the sanitizer s allowed tags in either of the following ways: allow both math and style elements, or allow both svg and style elements. Code is only impacted if allowed tags are being overridden. . This issue is fixed in version 1.4.4. All users overriding the allowed tags to include math or svg and style should either upgrade or use the following workaround immediately: Remove style from the overridden allowed tags, or remove math and svg from the overridden allowed tags. 漏洞公开时间:2022-12-15 01:15:11 漏洞创建时间:2025-10-27 19:09:24 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2022-23519 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | | | security-advisories.github.com | https://hackerone.com/reports/1656627 | | | security-advisories.github.com | https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-23519 | https://bugzilla.suse.com/show_bug.cgi?id=1206435 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2022-23519 | https://bugzilla.suse.com/show_bug.cgi?id=1206435 | | suse_bugzilla | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | https://bugzilla.suse.com/show_bug.cgi?id=1206435 | | suse_bugzilla | https://hackerone.com/reports/1656627 | https://bugzilla.suse.com/show_bug.cgi?id=1206435 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:2097 | https://bugzilla.redhat.com/show_bug.cgi?id=2153744 | | redhat_bugzilla | https://access.redhat.com/security/cve/cve-2022-23519 | https://bugzilla.redhat.com/show_bug.cgi?id=2153744 | | ubuntu | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23519 | https://ubuntu.com/security/CVE-2022-23519 | | ubuntu | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | https://ubuntu.com/security/CVE-2022-23519 | | ubuntu | https://hackerone.com/reports/1656627 | https://ubuntu.com/security/CVE-2022-23519 | | ubuntu | https://nvd.nist.gov/vuln/detail/CVE-2022-23519 | https://ubuntu.com/security/CVE-2022-23519 | | ubuntu | https://launchpad.net/bugs/cve/CVE-2022-23519 | https://ubuntu.com/security/CVE-2022-23519 | | ubuntu | https://security-tracker.debian.org/tracker/CVE-2022-23519 | https://ubuntu.com/security/CVE-2022-23519 | | debian | | https://security-tracker.debian.org/tracker/CVE-2022-23519 | | ruby | | https://github.com/rubysec/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2022-23519.yml | | cve_search | | https://hackerone.com/reports/1656627 | | cve_search | | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | | cve_search | | https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | | github_advisory | https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails-html-sanitizer/CVE-2022-23519.yml | https://github.com/advisories/GHSA-9h9g-93gc-623h | | github_advisory | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | https://github.com/advisories/GHSA-9h9g-93gc-623h | | github_advisory | https://hackerone.com/reports/1656627 | https://github.com/advisories/GHSA-9h9g-93gc-623h | | github_advisory | https://nvd.nist.gov/vuln/detail/CVE-2022-23519 | https://github.com/advisories/GHSA-9h9g-93gc-623h | | osv | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | https://osv.dev/vulnerability/CVE-2022-23519 | | osv | https://hackerone.com/reports/1656627 | https://osv.dev/vulnerability/CVE-2022-23519 | | osv | https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | https://osv.dev/vulnerability/CVE-2022-23519 | | osv | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | https://osv.dev/vulnerability/GHSA-9h9g-93gc-623h | | osv | https://nvd.nist.gov/vuln/detail/CVE-2022-23519 | https://osv.dev/vulnerability/GHSA-9h9g-93gc-623h | | osv | https://hackerone.com/reports/1656627 | https://osv.dev/vulnerability/GHSA-9h9g-93gc-623h | | osv | https://github.com/rails/rails-html-sanitizer | https://osv.dev/vulnerability/GHSA-9h9g-93gc-623h | | osv | https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails-html-sanitizer/CVE-2022-23519.yml | https://osv.dev/vulnerability/GHSA-9h9g-93gc-623h | | security-advisories.github.com | https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | | | nvd | https://hackerone.com/reports/1656627 | | | nvd | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | | | redhat | https://access.redhat.com/security/cve/CVE-2022-23519 | | | nvd | https://hackerone.com/reports/1656627 | | | nvd | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | | | debian | https://security-tracker.debian.org/tracker/CVE-2022-23519 | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h | | nvd | | | | https://hackerone.com/reports/1656627 | | nvd | | | | https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: openEuler评分: 6.1 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 受影响版本排查(受影响/不受影响): 1.openEuler-20.03-LTS-SP1(1.0.4): 2.openEuler-20.03-LTS-SP3(1.0.4): 3.openEuler-22.03-LTS(1.4.2): 4.openEuler-24.03-LTS-Next(1.4.3): 5.openEuler-22.03-LTS-SP4(1.4.2): 6.master(1.6.0): 7.openEuler-20.03-LTS-SP4(1.0.4): 8.openEuler-22.03-LTS-SP1(1.4.2): 9.openEuler-22.03-LTS-SP3(1.4.2): 10.openEuler-24.03-LTS(1.4.3): 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP1(1.0.4): 2.openEuler-20.03-LTS-SP3(1.0.4): 3.openEuler-22.03-LTS(1.4.2): 4.openEuler-24.03-LTS-Next(1.4.3): 5.openEuler-22.03-LTS-SP4(1.4.2): 6.master(1.6.0): 原因说明: 1.master(1.6.0): 2.openEuler-20.03-LTS-SP4(1.0.4): 3.openEuler-22.03-LTS-SP3(1.4.2): 4.openEuler-22.03-LTS-SP4(1.4.2): 5.openEuler-24.03-LTS(1.4.3): 6.openEuler-24.03-LTS-Next(1.4.3): 7.openEuler-24.03-LTS-SP1(1.4.3): 8.openEuler-24.03-LTS-SP2(1.4.3): 9.openEuler-24.03-LTS-SP3(1.4.3):
Comments (
3
)
Sign in
to comment
Status
Backlog
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
small_leek
small_leek
Assignee
Collaborator
+Assign
+Mention
Labels
CVE/UNFIXED
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (26)
Tags (21)
master
openEuler-25.09
openEuler-24.03-LTS
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS-SP3
openEuler-24.09
openEuler-25.03
openEuler-23.09
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-22.09
openEuler-23.03
openEuler-22.03-LTS
openEuler-20.03-LTS-Next
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS-SP3
openEuler-20.03-LTS-SP4
openEuler-20.09
openEuler-21.03
openEuler-21.09
openEuler-25.09-release
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
1
https://gitee.com/src-openeuler/rubygem-rails-html-sanitizer.git
git@gitee.com:src-openeuler/rubygem-rails-html-sanitizer.git
src-openeuler
rubygem-rails-html-sanitizer
rubygem-rails-html-sanitizer
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register